Hacker News new | ask | show | jobs
by pooriaazimi 5121 days ago
Just FYI, You can hide sensitive commands (like those that require you to type your password in plain!) in bash, by simply adding an space at the beginning (after adding `export HISTCONTROL=ignorespace` in your bash_profile, of course). I don't know about fish yet.

more: http://www.linuxjournal.com/content/using-bash-history-more-...