Redirection means performing input from other than the standard input stream, or output to other than the standard output stream. You can redirect the output of the print and printf statements to a file or a system command, using the , , and | operators. You can redirect input to the getline statement using the and | operators. Note: Redirecting Output of print and printf.
Directing input from a file other than the standard input or directing output to a file other than the standard output.
The process of directing a data flow from the default. Input can be redirected to get data from a file or the output of another program. Normal output can be sent to another program or a file. Errors can be sent to another program or a file.
the process of writing output from a command to a file using the right-angle bracket (), or of reading input for a command from a file using the left-angle bracket ().
a command-line specification that redefines the program's standard input file or standard output file.
the section called “Executing commandsâ€, the section called “Changing optionsâ€, the section called “Redirection and file descriptorsâ€, the section called “I/0 redirection and loops
Redirection is a function common to most Unix shells which allow standard streams to be redirected to user-specified locations.