Private Asked: 2014-04-03 11:37:23 +0800 CST2014-04-03 11:37:23 +0800 CST 2014-04-03 11:37:23 +0800 CST How to check when the Ubuntu server was rebooted? 772 I need to know when my server was rebooted? I only see my last login when I login. Where is this info stored? command-line 3 Answers Voted Best Answer sourav c. 2014-04-03T11:43:12+08:002014-04-03T11:43:12+08:00 You can use last to see login information. To know about system reboot, enter in a terminal, last | grep reboot Michael Bunch 2014-04-03T11:44:52+08:002014-04-03T11:44:52+08:00 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. DimiDak 2019-02-22T01:17:14+08:002019-02-22T01:17:14+08:00 who -b uptime last reboot ll /var/log/ | grep boot.log
You can use
last
to see login information. To know about system reboot, enter in a terminal,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.who -b
uptime
last reboot
ll /var/log/ | grep boot.log