Turn off and start

How i can see the times when the PC was turned off and started?

Thanks.

For shutdown
last -x shutdown

For reboot, and if you want to see only the last two sessions (including the current one)
last -x reboot | head -2

You can see the last boot with
who -b

You get the idea …

2 Likes

You can also use:

journalctl --list-boots