How to see Linux system reboot date and time

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:

  1. who -b command : Shows the time of last Linux system boot time.
  2. last -x|grep shutdown | head -1 : Use the last reboot and this command to display all the previous reboot date and time for the system.
  3. last reboot : Same info for reboot.
  4. last shutdown : Linux shutdown date and time.

Take a look at the following page:

working here. thanks

Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki