When I run "last reboot" on my pi (running ubuntu) it returns "Fri Jul 31 17:11" which is not at all the date, however, "date" returns the correct date it is currently "Thu Nov 5 17:07:00" is there a way to fix this so I can properly see the last reboot time of my pi

  • 2
    Systemd broke that last reboot stuff. Try using uptime and uptime -s. – Dougie Nov 6 '20 at 0:45
  • Thank you works perfect – Aiden Wilkins Nov 9 '20 at 19:40

The migration to systemd with Raspbian Stretch broke the old last reboot stuff. You'll get what you need from the uptime and uptime -s commands.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.