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? (Select two).
Correct Answer: C,F
To locate a missing file with only a partial name known, the best tools to use in a Linux environment would be grep and find.
grep: This command is used to search the contents of files for a specific pattern. While grep itself might not be the first choice for finding file names, it can be combined with other commands (like ls or find) to search within file lists or contents.
find: This command is used to search for files in a directory hierarchy based on various criteria like name, size, modification date, etc. find can be used to search for files by partial name by using wildcards in the search pattern.
cat (A) is used to concatenate and display the content of files. df (B) displays the amount of disk space used and available on filesystems. ps (D) shows information about active processes. dig (E) is used for querying DNS name servers. top (G) displays Linux tasks and system performance information. None of these tools are directly suited for finding files by partial names.