---

How to clear Bash history on Linux

This article shows you where the Bash history is located on your Linux system and how to fully or partially remove commands from Bash history and how to prevent that Bash writes a history of commands.