Originally Posted by stress_junkie
$ find / -mount -name whatever 2>/dev/null
Cool. I didn't know that stderr could be redirected so simply.
I had found out about using exec 2>/dev/null
, but this only seems to be useful from within a shell script, as on the command line it leaves me without the command prompt, or any echo of what I'm typing.
I know that this wasn't the main point of the thread, but I will find it useful.