How to check when the Ubuntu server was rebooted?
16,462
Solution 1
You can use last
to see login information. To know about system reboot, enter in a terminal,
last | grep reboot
Solution 2
You can run the uptime
command from the console to see how long the server has been running. This will give the total amount of time since the last reboot.
Solution 3
who -b
uptime
last reboot
ll /var/log/ | grep boot.log
Related videos on Youtube
![Private](https://i.stack.imgur.com/yPMsz.gif?s=256&g=1)
Author by
Private
Updated on September 18, 2022Comments
-
Private almost 2 years
I need to know when my server was rebooted? I only see my last login when I login.
Where is this info stored?
-
Private about 10 yearsthank you, funny that I didn't know that command yet. Happy that I now added it to my brain hard drive