Saturday, June 6, 2015

How to Disable Bash History Temporarily in Ubunu / Debian Linux


How to Disable Bash History Temporarily in Ubunu / Debian Linux


 Some times we want to use password as command line argument. Storing your password in .bash_history file  is not a good idea.

use the following command

$  unset HISTFILE


it is only for current session. 

No comments: