nerdexam
Novell

050-720 · Question #371

You want to view the last 20 lines of the /var/log/messages file and any new lines that are subsequently added by syslog to this file. Which command would you use?

The correct answer is A. tail -20f /var/log/messages. See the full explanation below for the reasoning.

Question

You want to view the last 20 lines of the /var/log/messages file and any new lines that are subsequently added by syslog to this file. Which command would you use?

Options

  • Atail -20f /var/log/messages
  • Bend -20f /var/log/messages
  • Cless -20f /var/log/messages
  • Dfollow -20 /var/log/messages

How the community answered

(43 responses)
  • A
    84% (36)
  • B
    2% (1)
  • C
    9% (4)
  • D
    5% (2)

Community Discussion

No community discussion yet for this question.

Full 050-720 Practice