CompTIA A+ Core 2 (220-1102) — Question 506
A customer who uses a Linux OS called the help desk to request assistance in locating a missing file. The customer does not know the exact name of the file but can provide a partial file name. Which of the following tools should the technician use? (Choose two.)
Answer options
- A. cat
- B. df
- C. grep
- D. ps
- E. dig
- F. find
- G. top
Correct answer: C, F
Explanation
The correct answers, C (grep) and F (find), are effective for searching files based on patterns or partial names. 'grep' is useful for searching within text, while 'find' specifically locates files in the filesystem. The other options, such as 'cat' and 'df', do not serve the purpose of searching for files, and 'ps', 'dig', and 'top' are unrelated to file searching.