journalctl¶
Don’t truncate¶
Fuck this default.
journalctl --no-pager
View the last 100 lines¶
journalctl --no-pager -n 100 --unit=my.service
since 5 minutes ago¶
The ago is very important for some reason. :|
journalctl -u --since "5 minutes ago"
see logs since previous boot¶
-b - is since a boot, the -1 is the argument meaning the previous boot.
-e - jumps to the end of the journal
journalctl -b -1 -e