Escaping from .bash_history
I don't want my actions to be logged in ~/.bash_history, but I want to keep it for future investigations. So, renaming and deleting the file isn't a solution. How can I escape from logging there?
|
Put the line
unset HISTFILE in your .bashrc file (maybe putting it in .bash_profile also works, but that's where I've got it). |
export HISTFILE=/dev/null
also works :) This thread have been discussed here before, I should have done a search ;) |
All times are GMT -5. The time now is 10:22 AM. |