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

Prefix any command with a space and bash won't append to the history.


Careful that's only true if you set HISTCONTROL to "ignorespace" or "ignoreboth".


Which seems the default in my anecdotal experience on debian/Ubuntu.

It is also the default on fish shell in the same anecdotal experience.




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

Search: