Multiple choice technology operating systems

grep is used to

  1. search a pattern

  2. grape juice

  3. grip a file

  4. compress a file

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

The grep command is used to search for patterns (text strings, regular expressions) within files or input streams. It's one of the most fundamental UNIX text processing tools. The other options are incorrect - grep is not related to grape juice, gripping files, or compression.