Thanks
I am familiar with the "/dev/null" bit what does the "2>&1" bit do?
Cheers
John
Answering my own question
> /dev/null pipes standard output to a black hole
2>&1 send error message to the same place
1 is standard output, 2 is error output
So to have only errors sent (which is in fact what I want) I just use > /dev/null
See a very useful article here for more detail
-
http://www.xaprb.com/blog/2006/06/06...vnull-21-mean/