Linux Command Line - I/O Redirection

June 13, 2017
linuxcommand line

Streams

Standard Input

Transmitted through the keyboard, from the user to a program. It is terminated when the end of file (EOF) is reached.

Standard Output

Display data generated by a program on the terminal if it is not redirected.

Standard Error

Display errors generated by a program on the terminal if it is not redirected.

Overwrite Target

Append Target

Pipes

Redirect streams from one program to another.

Filters

Alter piped redirection and output: find, grep, tee, tr, wc.

/dev/null special file that trashes any data that it receives. You can redirect output that you do not want displayed or passed to another program.