nerdexam
CompTIA

XK0-001 · Question #145

Which of the following commands searches the contents of files for a specific string?

The correct answer is B. grep. See the full explanation below for the reasoning.

Question

Which of the following commands searches the contents of files for a specific string?

Options

  • Afind
  • Bgrep
  • Csearch
  • Dwhereis

How the community answered

(48 responses)
  • A
    8% (4)
  • B
    73% (35)
  • C
    4% (2)
  • D
    15% (7)

Community Discussion

No community discussion yet for this question.

Full XK0-001 Practice