lock the screen on a mac from the cmd line


/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend

source

Date: 2017-04-18

Tags:  macos

Share: