First page Back Continue Last page Overview Graphics
Pipes
Unix pipes are very useful to redirect the standard output of a command to the standard input of another one.
Examples
- cat *.log | grep -i error | sort
- grep -ri error . | grep -v “ignored” | sort -u \ > serious_errors.log
- cat /home/*/homework.txt | grep mark | more
This one of the most powerful features in Unix shells!