Q. What is the command to display the first 15 lines of a file?

  • (A) head -15 filename
  • (B) tail -15 filename
  • (C) cat filename | head
  • (D) more filename
πŸ’¬ Discuss
βœ… Correct Answer: (A) head -15 filename
Explanation: 'head -15' shows the first 15 lines.
Explanation by: Mr. Dubey
'head -15' shows the first 15 lines.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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