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
πŸ’¬ Discuss
βœ… Correct Answer: (A) tail -50 filename
Explanation: 'tail -50' shows the last 50 lines of the specified file.
Explanation by: Mr. Dubey
'tail -50' shows the last 50 lines of the specified file.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
75
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
99%
Success Rate