Jump to: navigation, search

BASH Redirection

7 bytes removed, 09:59, 21 September 2008
Redirecting Output
cal 16 2009 >output 2>error
This command will fail because there is no 16th month in the year 2009 (or any year!). The stdout is redirected to the file "output", but there will be no output. The stderr (error message) will be redirected to the file "calendar.txterror".
== Redirecting Input ==

Navigation menu