Connecting Commands with Pipes
- The output of one command can be the input of another command ...
ls | wc
The output of "ls" is sent to "wc" to be counted.
The pipe character "|" is used to connect the two commands.
A more complicated example ...
ps -aux | grep netscape | wc -l
Report the number of people running netscape.
Notes:
No notes for slide 17