Created
August 25, 2016 15:58
-
-
Save DrewDouglass/a8afb2c276a99f37d8e2b7b6724d7542 to your computer and use it in GitHub Desktop.
Lock mac screen from command line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias lockScreen='/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment