LPI
101-400 · Question #33
Which of the following commands will print the last 10 lines of a text file to the standard output?
The correct answer is D. tail -n 10 filename. See the full explanation below for the reasoning.
Question
Which of the following commands will print the last 10 lines of a text file to the standard output?
Options
- Acat -n 10 filename
- Bdump -n 10 filename
- Chead -n 10 filename
- Dtail -n 10 filename
How the community answered
(51 responses)- A14% (7)
- B4% (2)
- C6% (3)
- D76% (39)
Community Discussion
No community discussion yet for this question.