Multiple choice technology operating systems

Command that is used to find text matches from a file?

  1. find

  2. match

  3. grep

  4. use

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

grep is the standard Unix command for searching text patterns within files. Its name comes from 'ed' editor command 'g/re/p' (globally search for a regular expression and print). grep searches for specified patterns and prints matching lines, making it the fundamental tool for text searching in Unix/Linux systems.