"Shell redirection - sending the output of a command to
a file or reading the input from a file - is commonly used and
supported by any shell you might use. But bash offers some
redirection tricks above and beyond what you might seen in the C
The simplest forms of redirection are available in all shells.
They look like this:
% wc totw* > totw_count # wc output goes to file totw_count
% mail randy < mailfile # send randy the contents of mailfile