Difference between revisions of "Chapter 6: Shell Redirection"

From Linux Shell Scripting Tutorial - A Beginner's handbook
Jump to navigation Jump to search
(Created page with 'Objectives: * Redirection - input and output * Sending input and output to files.')
 
Line 1: Line 1:
 +
Each shell command has its own input and outputs. Before  a  command  is executed, its input and output may be redirected using a special notation interpreted by the shell. For example, sending output of date command to a file instead of to the screen. Changing the default path of input or output is called redirection.
 +
 
Objectives:
 
Objectives:
 
* Redirection - input and output
 
* Redirection - input and output
 
* Sending input and output to files.
 
* Sending input and output to files.

Revision as of 08:58, 17 September 2009

Each shell command has its own input and outputs. Before a command is executed, its input and output may be redirected using a special notation interpreted by the shell. For example, sending output of date command to a file instead of to the screen. Changing the default path of input or output is called redirection.

Objectives:

  • Redirection - input and output
  • Sending input and output to files.