last
Order
> last
Check the last boot time
> who -b
or
> last -1 reboot
View shutdown records
> last -x | grep shutdown #Show in shutdown time period
View failed login history, the source is displayed by IP
> sudo lastb -i
Check how long the system has been running since the last boot
> uptime
or
> w
Reference article
- View Linux boot record
- How to Check Linux System Reboot Date and Time
- Linux Find Out Last System Reboot Time and Date Command