CompTIA A+ 220-1001/1002 Practice Test

Category - Other Operating Systems and Technologies

What Linux command is used to search files for specific content?
  1. dir
  2. grep
  3. cd
  4. chmod
Explanation
Answer: B - The grep command is used in Linux to search content within files.

The grep command helps administrators search for a specific string of text within a list of files. It’s useful instead of opening files one-by-one to find the content.
Was this helpful? Upvote!
Login to contribute your own answer or details

Top questions

Related questions

Most popular on PracticeQuiz