Tuesday, 13 February 2023 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
Tuesday, 13 December 2023 20:03
AH00526: Syntax error on line 20 apache2/extra/httpd-mpm.conf: Invalid command LockFile
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!