Skip to content

journalctl

the new /var/log/syslog

read journalctl logs

the following flags can usually be combined, so -f -u <service> works as well.

follow all new logs (tail -f):

journalctl -f

display last 100 lines and follow new logs:

journalctl -n 100 -f

read logs from a specific service/unit:

journalctl -u your-name.service

read logs since last boot:

journalctl -b