Q. How do you find Linux system last reboot/shutdown date and time?
A. You can use “last” command which will display all the previous reboot date and time for the system. This picks the information from the /var/log/wtmp file.
Use last command to display listing of system last reboot time and date:
# last reboot -1
reboot system boot 2.6.18-274.12.1. Wed Dec 14 06:01
To display last shutdown date and time use following command:
# last -x | grep shutdown | head -1
shutdown system down 2.6.18-274.12.1. Wed Dec 14 06:44
Use the “who -b” command which displays the last system reboot date and time
# who -b
system boot 2011-12-14 06:44