Beginner Linux & Shell Scripting
Q14 / 100

What does the "grep" command do?

Correct! Well done.

Incorrect.

The correct answer is B) Searches for lines matching a pattern within files or input

B

Correct Answer

Searches for lines matching a pattern within files or input

Explanation

"grep" searches input (files or piped data) for lines matching a given pattern (often a regular expression) and prints matching lines.

Progress
14/100