Multiple choice technology operating systems

How to search all files in current directory for the word "test"

  1. grep test *

  2. lookup test *

  3. search test *

  4. dir test .

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

'grep' is the standard Unix command for searching text patterns in files. The syntax 'grep test *' searches for the string 'test' in all files in the current directory (the * wildcard matches all filenames). 'lookup', 'search', and 'dir' are not standard Unix commands for text searching within files.