How do you check who did last reboot in Linux?
Answer
Use who command to find last system reboot time/date
The
last command searches back through the file /var/log/wtmp and displays a list of all users logged in (and out) since that file was created. The pseudo user reboot logs in each time the system is rebooted.
Answer
Use who command to find last system reboot time/date
The
last command searches back through the file /var/log/wtmp and displays a list of all users logged in (and out) since that file was created. The pseudo user reboot logs in each time the system is rebooted.