Computer Hacking Forensic Investigator (CHFI v10) — Question 471
You are conducting an investigation of fraudulent claims in an insurance company that involves complex text searches through large numbers of documents.
Which of the following tools would allow you to quickly and efficiently search for a string within a file on the bitmap image of the target computer?
Answer options
- A. Stringsearch
- B. grep
- C. dir
- D. vim
Correct answer: B
Explanation
The correct answer is B, grep, as it is designed for searching plain text data sets for lines that match a regular expression. The other options, such as Stringsearch and vim, are not specifically optimized for this type of text searching, while dir is primarily used for listing directory contents.