← Quiz: Linux for DevOps: all 10 questions
Quiz: Linux for DevOps · Question 3 of 10
Which command follows a service's logs live when it runs under systemd?
Which command follows a service's logs live when it runs under systemd?
- A.systemctl enable myapp
- B.journalctl -u myapp -f
- C.ps aux
- D.chmod +x myapp
Answer & explanation
Correct answer: journalctl -u myapp -f
journalctl reads systemd's journal; -u picks the unit and -f follows new lines.
Can you get the rest right without peeking?
Take the timed Quiz: Linux for DevOps quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →