Answer by goweon for Execute a terminal command without saving it to...
Add the following line to ~/.bashrcexport HISTCONTROL=ignorespaceThen source ~/.bashrc to refresh the settingsThis should enable that feature in bash. If it doesn't work, you might have to add it to...
View ArticleAnswer by warren for Execute a terminal command without saving it to...
If you're not concerned about keeping the session active, this may work:kill -9 $$It will kill the current session instead of logging-out, which [theoretically] means your history will not be saved.
View ArticleExecute a terminal command without saving it to .bash_history on OS X?
This site says that on Linux you can add a space before a terminal command to keep it out of .bash_history.This does not seem to work for Mac OS X. Does anyone know of a way to execute a single command...
View Article
More Pages to Explore .....