3 ms·
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. For example so
by bspammer 6y ago
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.
For example something like
curl -u user:"$(pass SomeSecret)" https://api.website.com https://api.website.com
- Fnoord 6y ago> 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-in-linux/ https://www.rootusers.com/17-bash-history-command-examples-i...