how to check apache is running or not in ubuntu code example Example: apache2 status sudo systemctl status apache2