Run the below command to check the last reboot and shutdown time.
Last reboot: This will show all the available entries for reboot. Refer last entry for latest reboot time.
$ last reboot
Last Shutdown: This will show all the available entries for reboot. Refer last entry for latest shutdown time.
$ last shutdown
Last reboot: This will show all the available entries for reboot. Refer last entry for latest reboot time.
$ last reboot
reboot ~ Sat Apr 7 21:58
reboot ~ Sat Apr 7 21:01
reboot ~ Thu Mar 29 16:33
wtmp begins Thu Mar 29 16:33
$
Last Shutdown: This will show all the available entries for reboot. Refer last entry for latest shutdown time.
$ last shutdown
shutdown ~ Thu Apr 19 00:59
shutdown ~ Tue Apr 17 10:34
shutdown ~ Sat Apr 7 21:11
shutdown ~ Thu Mar 29 16:39
wtmp begins Thu Mar 29 16:33
$
No comments:
Post a Comment