
Input/Output Redirection
You can direct input/output from/to files as well:
> filename -- direct stdout to filename (truncates it!)
>> filename -- append stdout to filename
< filename -- read input from filename
Example
$ wc -l /etc/group
57 /etc/group
$ wc -l < /etc/group
57
$ sort words.txt > words-sorted.txt
Copyright 2005, Bri Hatch of Onsight, Inc.
Presented at LFNW - LinuxFest Northwest, Bellingham, Washington, Apr 2005
Presentation created using vim and MagicPoint.