GIAC Security Essentials GSEC Question # 58 Topic 6 Discussion

GIAC Security Essentials GSEC Question # 58 Topic 6 Discussion

GSEC Exam Topic 6 Question 58 Discussion:
Question #: 58
Topic #: 6

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?


A.

ps /var/log/messages


B.

cat /var/log/messages | look error


C.

cat /var/log/messages | grep error


D.

cat /var/log/messages


Get Premium GSEC Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.