TransWikia.com

"last reboot" command not returning correct date

Raspberry Pi Asked by Aiden Wilkins on December 10, 2020

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

One Answer

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.

Correct answer by Dougie on December 10, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP