Text filters · Question 3 of 12
Which command prints a file with line numbers in front of each line?
1 answer is correct. Easy Created with AI
Show answer
Answer
- A nl
Explanation
By default nl numbers only non-empty lines. cat -n, by contrast, numbers all lines.