Changes

Jump to: navigation, search

BASH Redirection

173 bytes added, 08:01, 16 September 2008
no edit summary
Both the stdout and stderr of the <code>ls</code> command will be sent to the printer.
 
= Using stdout as an Argument =
 
The <code>$( )</code> can be used to capture stdout of a command and use it as an argument to another command:
 
vi $(date +%Y)-notes.txt
 
[[Category:BASH]][[Category:Linux]]

Navigation menu