Q. What does the 'tail -n 10 filename' command do?

  • (A) Displays the last 10 lines of a file
  • (B) Displays the first 10 lines of a file
  • (C) Removes last 10 lines of a file
  • (D) Copies last 10 lines to another file
πŸ’¬ Discuss
βœ… Correct Answer: (A) Displays the last 10 lines of a file
Explanation: 'tail -n 10' outputs the last 10 lines.
Explanation by: Mr. Dubey
'tail -n 10' outputs the last 10 lines.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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