Hey SuperTunaMan,
By default, all commands you type in are stored in the history. You can pick and chose the commands you want to store by putting the option…
export HISTCONTROL=ignorespace
in your ~/.bash_profile
file. This will make sure that bash don’t store any command beginning with the space character. So if you want bash to forget that you typed in ‘ls’, just type in ‘ ls’(<space>ls).
Herroes
There are some seekrit things that I would rather not have my
.bash_history knowing. Is there a way to set rules that prevent commands
containing a certain word like, say, "angry_watermelon" from being stored?
Also, are things that are sent to standard out logged anywhere?
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss