Q. What does the 'grep' command do in Linux?

  • (A) Searches for a pattern in files
  • (B) Creates a new file
  • (C) Deletes a file
  • (D) Renames a file
πŸ’¬ Discuss
βœ… Correct Answer: (A) Searches for a pattern in files
Explanation: The 'grep' command is used to search for a specific pattern in files.
Explanation by: Priyanka Tomar
The 'grep' command is used to search for a specific pattern in files.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
135
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Priyanka Tomar
Publisher
πŸ“ˆ
95%
Success Rate