GIAC
GSEC · Question #235
You work as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. You are required to search for the error messages in the /var/log/messages log file. Which of the
Sign in or unlock GSEC to reveal the answer and full explanation for question #235. The question stem and answer options stay visible for context.
Linux and Cryptography
Question
You work as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. You are required to search for the error messages in the /var/log/messages log file. Which of the following commands will you use to accomplish this?
Options
- Aps /var/log/messages
- Bcat /var/log/messages | look error
- Ccat /var/log/messages | grep error
- Dcat /var/log/messages
Unlock GSEC to see the answer
You've previewed enough free GSEC questions. Unlock GSEC for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#grep#log analysis#Linux commands#/var/log/messages