The first line writes "hello world" to the file "output", the second reads it back and writes it to standard output (normally the terminal). A "here" document is essentially a temporary, nameless file ...
One of the new features in bash 4.0 is the coproc statement. The coproc statement allows you to create a co-process that is connected to the invoking shell via two pipes: one to send input to the ...
Redirecting Standard Output To redirect the standard output, use the > operator followed by the destination file or device. The following cat command direct the output to a file called mylog: $ cat ...