Last reboot time
- how to check last reboot in linux
- how to check last 10 reboot in linux
- how to check last reboot reason in linux
- how to check last reboot logs in linux
How to check last 5 reboot in linux!
In this blog post, we will be discussing four different ways to check the last time your Linux system was rebooted. This information can be useful for troubleshooting purposes, or simply to keep track of how often your system is being rebooted.
We will be using the terminal commands “last,” “who -b,” “uptime -s,” and “dmesg” to obtain this information.
Last reboot command in windows
Let’s get started!
Check the last reboot time with last command in Linux
The best way to check the last reboot time in Linux is using the last reboot command. Open the terminal and type last reboot. It will show all reboots since the log file was created.
To list the last reboot time, run last reboot| head -2.
Example:
# last reboot|head -2
reboot system boot 4.18.0-348.20.1. Mon Aug 29 08:43 still running
reboot system boot 4.18.0-348.20.1.
Mon Aug 29 08:27 – 08:38 (00:11)
Get Your Free Linux training!
Join our free Linux trainingand discover the power of open-source technology. Enhance your skills and boost your career! Learn- how to check last reboot user in linux
- how to check last reboot status in linux