1. GNU Grep 3.11 Manual
Section 2.1
"Command-line Options": The official documentation for grep specifies the function of the -c or --count option: "Suppress normal output; instead print a count of matching lines for each input file." This confirms that options A and D would not provide the evidentiary data required by the analyst.
2. MIT OpenCourseWare
6.005 Software Construction
Spring 2016
"Reading 1: Static Checking": In the section on "Pipes and filters
" the courseware explains the use of the pipe (|) operator to connect the output of one command to the input of another. It provides an example: ls | grep .java
which is analogous to the structure used in the question for filtering log data in stages. This validates the command's structure.
3. University of California
Berkeley
EECS Department
"CS 161: Computer Security
Fall 2020
Lab 0": This lab exercise instructs students on using command-line tools for security tasks. It demonstrates using grep to search for specific patterns in files and using pipes to combine commands for more complex filtering
which is the exact technique required to solve the problem posed in the question.