Home > Linux, Quickie, Security > Quickie: Clean up your bash history

Quickie: Clean up your bash history

Sometimes when you work on linux in bash you don’t want to leave commands in bash history (.bash_history). Easy way to clean it up it’s to run following command:

HISTSIZE=0

Now your bash history will be not accessible and not saved when you logoff.

 

  1. No comments yet.
  1. No trackbacks yet.