[olug] Redirect to /dev/null

Brian Roberson roberson at olug.org
Thu Jul 10 03:08:52 UTC 2003


there are a few different ways, here are some examples

cmd 1 > /dev/null 2 > /dev/null
cmd > /dev/null 2>&1




On Wed, Jul 09, 2003 at 09:12:57AM -0500, Joe Catanzaro wrote:
> OK, to redirect crap to /dev/null, is it      /usr/bin/script.ksh > 
> /dev/null 2>&1    or is it     /usr/bin/script.ksh > 2>&1 /dev/null
> 
> 
> Thanks,
> 
> 
> 
> 
> Joe Catanzaro
> joecatanzaro at cox.net 
> 
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug


More information about the OLUG mailing list