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

Yeah. I wish all apps had an incognito mode for this reason.

Imagine being able to open an incognito terminal to type commands that won't get saved to history or pollute what you already have.



In bash (and probably others) commands prefixed with space are removed from history. (it's a setting - google HISTIGNORE )


You can:

    unset $HISTFILE




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

Search: