A |
(pipe) takes the output of one command and sends it as input to the next command.
echo "hello world" | tr 'a-z' 'A-Z'
— Converts text to uppercasecat file.txt | grep "error"
— Finds lines containing "error"ps aux | sort -nrk 3 | head -5
— Top 5 CPU processes