How do I view Linux system reboot last date and time? What command do I need to type on my bash terminal?
You need to use the following commands for viewing linux system reboot and date time:
who -bcommand : Shows the time of last Linux system boot time.
last -x|grep shutdown | head -1: Use the
last rebootand this command to display all the previous reboot date and time for the system.
last reboot: Same info for reboot.
last shutdown: Linux shutdown date and time.
Take a look at the following page:
working here. thanks