For any number of reasons, including bragging rights, you may want to know when you last rebooted your Linux computers. It’s actually pretty easy and I’ll show you how.
Crack open your terminal emulator, CTRL + ALT + T will often do it, and enter the following:
What will tell you when you last rebooted, who booted (system), the kernel used, date and time, and how long the system was up for.
If you want to see the three most recent boots, you could just use the ‘head’ command.
You can even use grep to see how many times you rebooted in a month, for example:
And there you have it. It’s much easier than you might think.