Skip to main content

Fix Your Stuff

Right to Repair

Store

Help
Editing Step 2 —

Step Type:

Drag to rearrange

Copy and paste the following command in your Terminal window:

log show --predicate 'eventMessage contains "Previous shutdown cause"' --last 24h

The "24h" portion of the command can be changed to any number of hours, depending on how far back you need to see.

Your contributions are licensed under the open source Creative Commons license.