How can I see the log from the last shutdown?

How can I see the log from the last shutdown of the computer ?

Simply:
journalctl -b -1

journalctl --boot=-1

is the log from the last boot
or just

journalctl --boot

for the current boot.

May also be helpfull:
journalctl --list-boots

It’s funny how a very useful tool like Ksystemlog fails in something like this. If you want to see the last log there is no menu to choose log -1, -2, -3, etc. The only way to see older logs is increasing the number of lines it loads to 30,000. Too bad it doesn’t have such a basic function. :roll_eyes:

You can also filter by date. Here is a guide to journalctl

1 Like