Text filters · Question 1 of 12
Which command prints the first ten lines of a file when given no further options?
1 answer is correct. Easy Created with AI
Show answer
Answer
- C head
Explanation
tail, by contrast, prints the last ten lines. For both, -n changes the number, for example head -n 3.