journalctl
I. How To Display A List Of Boot Times
Explanation
The example provided below demonstrates how to get journalctl to print out a table of all the times the computer has booted.
Example 1.1
Show a table of every time the computer has booted.john@comp:~$ sudo journalctl --list-boots
[sudo] password for john:
IDX BOOT ID FIRST ENTRY LAST ENTRY
-2 364a92b6d2104511818c32a4005c740b Sat 2024-08-31 10:41:25 PDT Sat 2024-09-07 07:25:01 PDT
-1 cc0e13a9303e46309fe884dc44282874 Sat 2024-09-07 09:32:36 PDT Wed 2024-09-11 23:35:01 PDT
0 bee268adf9644312b600313665bda448 Thu 2024-09-12 06:37:29 PDT Tue 2024-10-08 02:17:58 PDT