Quantcast
Channel: How do I prevent commands from showing up in Bash history? - Stack Overflow
Viewing all articles
Browse latest Browse all 9

How do I prevent commands from showing up in Bash history?

$
0
0

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?


Viewing all articles
Browse latest Browse all 9

Latest Images

Trending Articles





Latest Images