Linux & the Command Line / Power tools
Lesson 16 of 30
Pipes
The pipe | sends one command's output into the next command. Chaining small tools is the Linux superpower.
Key points
- cmd1 | cmd2
- sort | uniq -c counts duplicates
- wc -l counts lines
grep "Failed" auth.log | wc -lQuiz · +10 XP
What does the | symbol do?
Log in to save progress and earn XP.