Table of Contents
An OS can be compared to a car’s engine. An engine can function on its own, but only when it is coupled with a transmission, axles, and wheels does it become a driving machine. The remainder of the car won’t function correctly without a functioning engine.
Although it was initially intended to be similar to UNIX, Linux has developed to work on a wide range of hardware, including smartphones and supercomputers. The Linux kernel, which controls hardware resources, is a component of any Linux-based OS, along with a collection of software packages that make up the remainder of the operating system.
The OS comes with a few standard, essential parts, including the GNU tools. With the help of these tools, the user can manage the resources offered by the kernel, add new programmes, set up performance and security options, and more. We have mentioned steps below to View Shutdown and Restart History on Linux.
Steps to View Shutdown and Restart History on Linux
Check System Uptime in Linux
Additionally, you can also use the uptime command to find the system uptime from last booted. Just open the terminal on your system and type uptime and hit enter.
linuxstoney@pop-os:~$ uptime17:12:25 up 6:28, 1 user, load average: 1.09, 0.78, 0.46

Check Last Reboot History in Linux
The last command, which gives us a history of previous logins and system restarts, is often provided by Linux/Unix or FreeBSD systems. These entries are preserved in the most recent log file with a precise time and date. You may find out the specifics of the most recent reboots by using the last reboot command from the terminal.

linuxstoney@pop-os:~$ last rebootreboot system boot 5.11.0-7620-gene Sun Aug 8 10:43 still runningreboot system boot 5.11.0-7620-gene Sun Aug 8 09:53 still running
Final Words
We hope like our article on How to View Shutdown and Restart History on Linux. You might wish to know when your Linux machine shut down, restarted, or how long it has been running for a variety of reasons. The majority of the time, this information is crucial for troubleshooting an issue that might have occurred when no one was looking.