There's a more Logical solution
|
Author | Content |
---|---|
dotmatrix Jun 06, 2016 12:41 PM EDT |
rm ~/.bash_history
ln -s /dev/null ~/.bash_history
This 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... |
gus3 Jun 06, 2016 1:46 PM EDT |
Or, in your .bash_profile add the following line: export HISTFILESIZE=0 This way, shell history is strictly per-process, and never saved/shared. |
jdixon Jun 06, 2016 4:44 PM EDT |
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? |
Posting in this forum is limited to members of the group: [ForumMods, SITEADMINS, MEMBERS.]
Becoming a member of LXer is easy and free. Join Us!