Forrest logo
back to the last tool

last:tldr:30795

last: View all recorded shutdowns (i.e., the last logins of the pseudo user "shutdown").
$ last shutdown
try on your machine

The command "last shutdown" is used to view the details of the previous system shutdown event. It shows information about when the system was last shut down, who initiated the shutdown, and other related information.

When you execute the command "last shutdown" in the terminal or command prompt, it retrieves the system's log files and displays the relevant information about the previous system shutdown.

The output of the command typically includes details such as the date and time of the shutdown, the user who initiated the shutdown, the method used to shut down the system (e.g., via GUI, terminal, or other means), and any relevant notes or comments associated with the shutdown event.

This command is useful for troubleshooting, analyzing system behavior, and tracking system uptime. It helps to identify any irregularities or potential issues that may have occurred during the previous shutdown.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the last tool