Command
sudo systemctl status apache2Explanation
Displays the current status of the Apache service.
Examples
Check status (Systemd)
sudo systemctl status apache2Check status (SysV)
sudo service apache2 statussudo systemctl status apache2Displays the current status of the Apache service.
Check status (Systemd)
sudo systemctl status apache2Check status (SysV)
sudo service apache2 status