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
Share:
16,462

Related videos on Youtube

Private
Author by

Private

Updated on September 18, 2022

Comments

  • Private
    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
    Private about 10 years
    thank you, funny that I didn't know that command yet. Happy that I now added it to my brain hard drive