Administrate the Apache HTTP web server. This command comes with Debian based OSes, for RHEL based ones see
httpd
. More information: https://manned.org/apache2ctl.8.
sudo apache2ctl start
sudo apache2ctl stop
sudo apache2ctl restart
sudo apache2ctl -t
sudo apache2ctl -M