Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> I use it fairly regularly for cases where I want to input something sensitive on the command line, and not have that stored in my bash history.

Nice usage.

You could also use HISTIGNORE variable, history -d, or unset HISTFILE. Here are some examples [1]

[1] https://www.rootusers.com/17-bash-history-command-examples-i...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: