Re:Things I found on GitHub: shell history
by DaveInTucson on Monday February 18, 2013 @11:39PM
(#5242651)
If you also find little or no use for .bash_history, you can do this:
(There's probably some .bashrc setting that turns off history, but I'm making it a goal in my life to know as little about bash configuration as I possibly can.)
[ Parent
| on HN ]
Re:Things I found on GitHub: shell history
by niggler on Monday February 18, 2013 @11:41PM
(#5242657)
$ unset HISTFILE
The manpage for bash has many hidden gems
Re:Things I found on GitHub: shell history
by IgorPartola on Tuesday February 19, 2013 @09:30AM
(#5244425)
One other cool thing: if your command starts with a space, it will not be logged to bash_history. For example:
$ echo 'this is logged'
$ echo 'this is not logged'