apache2ctl
linux
Administrate the Apache HTTP web server. This command comes with Debian based OSes, for RHEL based ones see `httpd`.
More info →Examples (5)
Start the Apache daemon. Throw a message if it is already running
sudo apache2ctl startStop the Apache daemon
sudo apache2ctl stopRestart the Apache daemon
sudo apache2ctl restartTest syntax of the configuration file
sudo apache2ctl -tList loaded modules
sudo apache2ctl -Mmade by @shridhargupta | data from tldr-pages