shawn wilson ([email protected] on 2011-04-27 18:58 -0400):
> Is there a way to have a command that does not show up in history? Or
> a way to pipe a string where the string doesn't show up in history?

see the HISTIGNORE variable in the bash manual, and edit ~/.bashrc
accordingly. Most used is something like

export HISTIGNORE=" *"

which will not save any command that starts with a space.


Regards,
Arno


-- 
To UNSUBSCRIBE, email to [email protected] 
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to