System Grab Bag

View all TLDR pages from Linux (or from all pages)

apache2ctl

Administrate the Apache HTTP web server. This command comes with Debian based OSes, for RHEL based ones see httpd. More information: https://manpages.debian.org/latest/apache2/apache2ctl.8.en.html.
  • Start the Apache daemon. Throw a message if it is already running:
    sudo apache2ctl start
  • Stop the Apache daemon:
    sudo apache2ctl stop
  • Restart the Apache daemon:
    sudo apache2ctl restart
  • Test syntax of the configuration file:
    sudo apache2ctl -t
  • List loaded modules:
    sudo apache2ctl -M

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.