shawn wilson (ag4ve...@gmail.com 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 debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110428110715.3b692...@neminis.loos.site

Reply via email to