Pipes are used to direct the output of the preceding command (on the left) into the input of the following command (on the right).
Uses the | operator:
- command 1 | command 2
## count the number of files in your home directory
ls ~/ | wc -l