Run echo alpha beta beta | wc.
echo alpha beta beta | wc
Use safe simulated pipes to count, sort, and deduplicate text output.
Text and logsechosortuniqwc
Click any instruction for the command details, the why, and the common mistake to avoid.
Run echo alpha beta beta | wc.
echo alpha beta beta | wc
Run cat /home/learner/data/ports.txt | sort | uniq.
cat /home/learner/data/ports.txt | sort | uniq
Run echo pipeline-practice > lab-pipeline.txt.
echo pipeline-practice > lab-pipeline.txt
Create a free account to sync completed lessons, XP, streaks, course status, and your next lesson across sessions.
Checking account status...
Progress sync is idle.
Progress sync stores completion IDs, scores, streaks, badges, and game settings. Terminal contents, editor snippets, lab scratch, email, and real names are never published on leaderboards or share cards.
Understand how one command's output can become another command's input.
Use echo with quoted words before trying cat with a pipe.
Pipelines make terminals powerful, but this lab keeps them tightly limited.
echo <text>
Print text or write lab notes with >.
wc [-l] <file>
Count lines, words, and characters.
sort|uniq
Practice simple text pipelines.