Redirecting output

White Hat pigskin_referee at yahoo.com
Tue Dec 18 09:38:40 PST 2007


I am trying to find out exactly what is the difference between:
 
{command} 2>&1 >> /dev/null
 
and
 
{command} dev/null 2>&1
 
I have seen both used and have not been able to decipher what the difference is. It would seem that the first one would be the one that is correct.
 
-- 
White Hat 
pigskin_referee at yahoo.com


      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping


More information about the freebsd-questions mailing list