CompTIA CS0-004 Question Answer
A security operations center (SOC) analyst investigates the results of a password spray test conducted by the vulnerability management team.
The analyst must:

Identify Linux systems that have successful and unsuccessful logins with username "User1".
Create an output report named "linux-events" of all the events to a flat file.
The analyst issues the following console command:
ls /var/log/
The shortened output of the command is below:
Which of the following commands should the analyst use to meet the report output requirements?
CompTIA CS0-004 Summary
- Vendor: CompTIA
- Product: CS0-004
- Update on: Sep 21, 2026
- Questions: 82

