Multiple choice

What does the command grep do

  1. search for regular expressions in a text file

  2. change the current directory

  3. display contents of a directory

  4. delete files

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

grep stands for global regular expression print. It is a powerful tool for searching text within files based on patterns.