Command
sudo systemctl status apache2
Explanation
Displays the current status of the Apache service.
Examples
Check status (Systemd)
sudo systemctl status apache2
Check status (SysV)
sudo service apache2 status
sudo systemctl status apache2
Displays the current status of the Apache service.
Check status (Systemd)
sudo systemctl status apache2
Check status (SysV)
sudo service apache2 status