Q. Which command is used to count the number of lines in a file?

  • (A) cat
  • (B) count
  • (C) wc -l
  • (D) lines
πŸ’¬ Discuss
βœ… Correct Answer: (C) wc -l
Explanation: 'wc -l' counts the number of lines in a file.
Explanation by: Mr. Dubey
'wc -l' counts the number of lines in a file.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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