Difference between revisions of "Redirection"
From Knoppix Documentation Wiki
(Added Redirection) |
Harry Kuhman (Talk | contribs) m (Reverted edit of Zy0Vnn, changed back to last version by RubA0a) |
||
(5 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | Redirection | + | [[Redirection]] |
First, you have input / output streams. This is where the keyboard (input) data or display (output) data is (normally) going to/from. | First, you have input / output streams. This is where the keyboard (input) data or display (output) data is (normally) going to/from. | ||
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> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Latest revision as of 23:01, 19 August 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>