How to effectively clear your bash history
|
|
|
Comments (3)
Or, in your .bash_profile add the following line:
export HISTFILESIZE=0
This way, shell history is strictly per-process, and never saved/shared.
export HISTFILESIZE=0
This way, shell history is strictly per-process, and never saved/shared.
In Linux/Unix, there are usually half a dozen ways to accomplish the same task.
Did anyone else make their cookies file in Netscape read only to keep it from storing cookies?
Did anyone else make their cookies file in Netscape read only to keep it from storing cookies?
Post a comment
A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.
Your message:Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help
Sign up and post (it is free) or Log in and post

rm ~/.bash_history ln -s /dev/null ~/.bash_historyThis trick also works with '~/.local/share/recently-used.xbel'
However, with recently-used... each login will create a new recently-used file which is deleted upon exit or new login ... I forget which.
I think that's right...