|Text-only||Table of Contents (frame/ no frame)|
|(14) I/O redirection and pipelines|
noclobberoption is set. The file is created if it does not exist.
The special device file
/dev/nullcan be used to explicitly discard unwanted output. Reading from /dev/null results in an End of File status.
command | command [ | command ...]
No more than one command in a pipeline should be interactive (attempt to read from the terminal). This construct is much more efficient than using temporary files, and most standard Unix utilities are designed such that they work well in pipelines.
The exit status of a pipeline is the exit status of the last command. In compound commands, a pipeline can be used anywhere a simple command could be used.
|ioredirection.src last modified Mar 26, 2010||Introduction||Table of Contents
|© Dartmouth College|