systemctl enable httpd and start single line bash code example
Example 1: apache commands on debian
sudo service apache2 start
Example 2: apache commands on debian
sudo systemctl stop apache2sudo service apache2 stop
sudo service apache2 start
sudo systemctl stop apache2sudo service apache2 stop