On 10/10/2007, Chris Glover chris@glovercc.plus.com wrote:
mount -a 2>&1 > /dev/null
The 2>&1 forces STDERR to goto STDOUT, which you caqn then send to /dev/null.
I had tried this originally (with the 2>&1 on the other side), and errors stopped for a few days but then restarted. I then tried the leaner version which I posted. I have to be vague here, as the mails go to a client and it's hard working out what, why and when from him :-)
Mark:
See http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-3.html for some useful hints
Thanks for the link.
Jenny