Level 1
0 / 100 XP

Welcome

12345678

This is the lesson that ties everything together. Linux commands are small tools that each do one job — the magic is connecting them. Two ideas make that possible:

  • Pipes (|) send one command's output straight into the next command as its input.
  • Redirection sends output to a file (> overwrite, >> append) or reads a file as input (<).

Along the way you'll use sort (order lines) and uniq (collapse duplicates, and with -c, count them). Together these build the classic "sort | uniq -c" tally that every sysadmin knows.

Your projects folder has fruit.txt — a short list with repeated fruit names. Move into projects first.

Restoring lab progress…