How to run command in bash without saving it in history?
Linux – Run command in bash without save in history
bashlinux
Related Topic
- Linux – Fixing “-bash: !”: Event Not Found” Error
- Linux – Preventing bash (and ksh) history alteration in Linux
- Linux – How to run a command multiple times, using bash shell
- Bash – Run an interactive bash subshell with initial commands without returning to the (“super”) shell immediately
- Linux – Disable the ability to hide Bash command history
- Linux – How to recall a specific command from command history, without executing it
Best Answer
Add space before command. commands starting with a space do not put in history:
man bash