Pipes and streams
routinepar 1 commandKeep a copy on the way past
Sort the words, save the sorted list to sorted.txt, and count the lines — all in one pipeline.
Goal
0 / 1 commands
Sort words.txt, save the sorted result to sorted.txt, and count the lines — all in one pipeline.
- ·Uses
tee
$
| Mode | Links | Size | Name |
|---|---|---|---|
| -rw-r--r-- | 1 | 38 | words.txt |