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