nerdexam
LPI

101-500 · Question #340

101-500 Question #340: Real Exam Question with Answer & Explanation

The correct answer is C. tail -f -n 30 /var/log/bigd.log. You've hit your Sonnet limit · resets Jun 8, 9am (UTC)

GNU and Unix Commands

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

Explanation

You've hit your Sonnet limit · resets Jun 8, 9am (UTC)

Topics

#tail command#log file monitoring#follow mode#command options

Community Discussion

No community discussion yet for this question.

Full 101-500 Practice