Which command can be utilized to view log entries of NGINX system events in real time?

IT Questions BankCategory: CCNA CyberOpsWhich command can be utilized to view log entries of NGINX system events in real time?

Which command can be utilized to view log entries of NGINX system events in real time?

  • sudo journalctl –u nginx.service -f
  • sudo journalctl –f
  • sudo journalctl –until "1 hour ago"
  • sudo journalctl –u nginx.services

Explanation: The journalctl command supports mixing options to achieve a desired filter set. The –u option allows filtering on the desired unit, whereas the –f option follows the specific log, thus monitoring the event in real time.

Exam with this question: CCNA Cyber Ops (v1.1) – Chapter 3 Exam Answers

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments