There’s been a number of times I’ve wanted to not include some commands that I type into bash from being added to bash_history
The most convenient is to start a subshell by typing in bash
again. This ensures that the commands in the subshell don’t get added to the history.
There are additional ways of achieving this as well.
Continue reading