Displaying items by tag: shell

Tuesday, 13 February 2018 18:05

How to Lock the Mac Screen from Terminal in OS X

Open Terminal and enter the following in a single line:

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

Open Terminal

sudo mv httpd-mpm.conf httpd-mpm.conf.elcapitan

sudo cp httpd-mpm.conf~orig httpd-mpm.conf

 and then entered the commands:

sudo apachectl restart

apachectl configtest

The last command returned "Syntax OK". Now work Done!

Tagged under