CompTIA
LX0-101 · Question #297
Which of the following commands will display the last 30 lines of /var/log/bigd.log as well as new content as it is appended to the file by another process?
The correct answer is C. tail-f-n 30/Var/log/bigd.log. See the full explanation below for the reasoning.
Question
Which of the following commands will display the last 30 lines of /var/log/bigd.log as well as new content as it is appended to the file by another process?
Options
- Acut-30-v/var/log/bigd.log
- BheaD.30-e/var/log/bigd.log
- Ctail-f-n 30/Var/log/bigd.log
- DtaC.30/var/log/bigd.log
- Ecat-r-n 30/var/log/bigd.log
How the community answered
(25 responses)- A8% (2)
- B4% (1)
- C80% (20)
- D8% (2)
Community Discussion
No community discussion yet for this question.