Proudly OC
It depends on configuration, but you can often avoid this quirk by putting a leading space on the command. That'll stop it from being added to history.
My old Manager who had root used to open up my history and other script config files to monitor me during my remote work from home. The space trick in the command line was a great for hiding my script overload files from him.
Heh. It can indeed be used for that, though since I own my own system now, I mostly use it to keep certain things uncluttered.
also ps -a | grep procname
| grep -v grep
The long distance version of this is when the only return from your Google search is you asking the same question on a mailing list 10 years ago.
I now post tombstones, so I also get the answer if there was one.