TLDR
Enter a command. For example: quotacheck, btrfs, disown, asterisk.

apache2ctl

 
The CLI tool to administrate HTTP web server Apache. 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

This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.
OSZAR »