Journalctl command options

Follow output

journalctl -f

Follow service

journalctl -f -u sshd

Print x many lines. Change x to the amount of lines you want printed

journalctl -n 25 -u sshd

Leave a Reply

Your email address will not be published. Required fields are marked *