HowTo: Clear BASH History

Sometimes you don’t want to leave Bash history, because it may contain some sensitive data like passwords. This article may help you to control your Bash history file. Clear Bash history completely Type the following command to clear all your Bash history: $ history -cw Option Description -c Clear the history list -w Write out […]