Redirection symbol

From Linux Shell Scripting Tutorial - A Beginner's handbook
Revision as of 13:20, 17 September 2009 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The following are redirection symbols used for the file input and output:

  1. < filename : Read standard input from file.
  2. > filename : Sends standard output to file.
  3. 2> filename : Sends standard error to file.
  4. >> filename : Appends standard output to file.