Stdout, stderr and stdin
From Linuxintro
Revision as of 18:49, 1 April 2009 by imported>ThorstenStaerk (wow! Now I discovered something new)
Piping is a famous concept in Unix that describes the handling of input and output of running processes. Think of a process that asks for your name. You enter your name by using the keyboard. But instead of reading from the keyboard, the process could also read from the standard input stream. And by default, the standard input stream could be fed by the keyboard.
echo hallo | (read a; echo $a)