DEV Community

Cover image for Put your Macbook to sleep with this command
Hossein Kazemi
Hossein Kazemi

Posted on

Put your Macbook to sleep with this command

Do you hate to use the Macbook’s touchbar like me? And do you spend most of the time in your terminal?

Use the command below to put your Macbook to sleep:

pmset displaysleepnow
Enter fullscreen mode Exit fullscreen mode

Follow me on twitter for more @hossein761

Discussion (0)