A

Admin • 833K Points
Coach

Q. How do you display the last 50 lines of a file in Linux?

  • (A) tail -50 filename
  • (B) head -50 filename
  • (C) cat -50 filename
  • (D) less filename
  • Correct Answer - Option(A)
  • Views: 18
  • Filed under category Linux
  • Hashtags:

Explanation by: Admin

'tail -50' shows the last 50 lines of the specified file.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.