News for hackers. Stuff that matters.
Re:Shell Productivity Tips and Tricks by McKayDavis on Saturday April 25, 2020 @01:36PM (#22979708)
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)

There are no comments on this comment yet.