A

Admin • 828.03K Points
Coach

Q. Which command will display the last 10 lines of a log file in real time?

  • (A) tail -f /var/log/syslog
  • (B) head /var/log/syslog
  • (C) less /var/log/syslog
  • (D) cat /var/log/syslog
  • Correct Answer - Option(A)
  • Views: 12
  • Filed under category Linux
  • Hashtags:

Explanation by: Admin
'tail -f' shows last lines and updates as new lines are added.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.