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
Please login or Register to submit your answer