Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs

Partner Sites
JustLinux.com
Linux Planet
PHPBuilder
Technology Jobs

Top White Papers

More on LinuxToday


Linuxlookup.com Tip Of The Week: bash Redirection

Aug 18, 2001, 20:35 (2 Talkback[s])
(Other stories by Randy)
"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 shell.

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

Complete Story

Related Stories: