Sometimes, when I run commands like rm -rf XYZ
, I don't want this to be recorded in Bash history, because I might accidentally run the same command again by reverse-i-search
. Is there a good way to prevent this from happening?
How do I prevent commands from showing up in Bash history?
↧
↧
Trending Articles
More Pages to Explore .....