how to restart apache2 in mac terminal code example Example: apache restart mac os sudo apachectl restart