- No.
- 13
- Date
- Learning goal
- Terminal Start, lesson 5
- Level
- 1 of 3
Command of the day No. 13: cat -n
Purpose: Shows a file with numbered lines.
Syntax: cat -n file
Example:
cat -n todo.txt
1 1. tidy up Downloads
2 2. read the log Output from the simulator, as on a real Linux.
Options:
Try it in the terminal Share image
Fills in the command. Nothing runs until you press Enter.