Difference between revisions of "Redirection"
From Knoppix Documentation Wiki
Line 6: | Line 6: | ||
cmd < read file to pipe input in <br> | cmd < read file to pipe input in <br> | ||
cmd >> append write file <br> | cmd >> append write file <br> | ||
− | cmd 1>log.out 2> | + | cmd 1>log.out 2> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Revision as of 12:20, 11 April 2007
Redirection
First, you have input / output streams. This is where the keyboard (input) data or display (output) data is (normally) going to/from.
cmd > write file
cmd < read file to pipe input in
cmd >> append write file
cmd 1>log.out 2>