Problem Statement
Which command shows service logs managed by systemd?
Explanation
journalctl is part of systemd and displays log entries collected by it.
Use -u followed by the service name to see logs specific to that unit, and -f to follow in real time.
Code Solution
SolutionRead Only
journalctl -u ssh -f
Practice Sets
This question appears in the following practice sets: