Redirect 

to redirect both stdout & stderr

official way 

> /dev/null 2>&1

E.g.:

host$ rm nooo >/dev/null 2>&1
host$ echo rm nooo >/dev/null 2>&1
host$

quick way 

iitrc:~/www/ai$ ls no
no: No such file or directory
iitrc:~/www/ai$ ls no >& /dev/null
[Note]

'>&' works fine for bash and csh (and 4dos), but not sh:

iitrc:~/www/ai$ sh
$ ls no >& /dev/null
/dev/null: bad number

documented on: Thu 02-18-99 16:47:08