CompTIA
XK0-004 · Question #501
XK0-004 Question #501: Real Exam Question with Answer & Explanation
The correct answer is A: journalctl -u httpd. journalctl -u will list the log entries associated with the httpd unit.
Question
A company's httpd server has stopped working and restarting the service does not fix the issue. A junior systems administrator is investigating log files for clues. Which of the following commands should the administrator execute?
Options
- Ajournalctl -u httpd
- Bjournalctl -l httpd
- Csystemctl -s httpd
- Dsystemctl -l httpd
Explanation
journalctl -u will list the log entries associated with the httpd unit.
Community Discussion
No community discussion yet for this question.