Linux last reboot date and time

Please stand by for the tip of the day.

A very small but powerful command. You must be knowing about last command if you had taken RHCE Training.

last reboot

Will tell you the date and time when your Linux machine was last reboot. The command actually gather this information from /var/log/wtmp file.

Can be useful for forensic / diagnostic purposes.

Here is the screen shot from my machine.

Linux last reboot date and time

Linux last reboot date and time

Advertisements