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

If you're using `bash`, A quick remedy for this is:

  unset HISTFILE
  exit
This prevents `bash` from updating the `~/.bash_history` file on exit with the command you don't want memorialized. (assuming you don't also have some hook that updates your history file after every command)


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

Search: