π 2020-Jun-16 ⬩ βοΈ Ashwin Nanjappa ⬩ π·οΈ journalctl, systemd ⬩ π Archive
systemd is the modern init system used on many Linux distributions, including Ubuntu. The command to query systemdβs journal is journalctl. Querying the journal is useful to find out about previous boots and to look at logs of what apps went wrong.
$ journalctl
$ journalctl --list-boots
This can be useful to see your previous uptimes.
$ journalctl --pager-end
X
from --list-boots
:$ journalctl --boot=X
Tried with: Ubuntu 18.04