Forrest logo
back to the pmset tool

pmset:tldr:bfe34

pmset: Put display to sleep immediately.
$ pmset displaysleepnow
try on your machine

The command "pmset displaysleepnow" is used to put the display of a Mac computer to sleep immediately.

When the command is executed, it sends a signal to the system to initiate the display sleep mode, causing the screen to turn off. This is useful when you want to quickly put your Mac's display to sleep without waiting for the regular sleep timer to activate.

Using the "pmset" command allows you to control various power management settings on a Mac, including sleep, display sleep, and system sleep. The "displaysleepnow" option specifically focuses on the display sleep feature.

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 pmset tool