Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

stop apache server

# On Ubuntu
## Start command ##
systemctl start apache2.service
## Stop command ##
systemctl stop apache2.service
## Restart command ##
systemctl restart apache2.service
Comment

linux apache stop

sudo service apache2 start
sudo service apache2 restart
sudo service apache2 stop

OR 

sudo /etc/init.d/apache2 start
sudo /etc/init.d/apache2 restart
sudo /etc/init.d/apache2 stop
Comment

apache 2 stop linux

sudo service apache2 stop

Comment

stop apache service

sudo systemctl stop apache2
Comment

stop apache server

Stop apache2 server
Comment

PREVIOUS NEXT
Code Example
Shell :: install aws cli version 2 mac 
Shell :: how to install nvm in ubuntu 18.04 
Shell :: change dns server ubuntu 20.04 
Shell :: how to install fish in debian 
Shell :: iptables remove docker rules 
Shell :: rpi install chomedriver 
Shell :: push an existing repository from the command line 
Shell :: how to start cron job 
Shell :: speedtest mac terminal 
Shell :: curl send to ip 
Shell :: uninstall mongo db 
Shell :: linux install requirements.txt 
Shell :: git pull from commit 
Shell :: setup git config for multiple accounts 
Shell :: how to check default path of the nginx 
Shell :: Kubectl get memory usage of pod 
Shell :: get path of command ubuntu 
Shell :: kill a process linux 
Shell :: convert wsl to wsl2 
Shell :: install radeon drivers ubuntu 
Shell :: git bash posh git 
Shell :: Creating a new Laravel application 
Shell :: linux gz unzip 
Shell :: ufw add rule with comment 
Shell :: show processor usage linux 
Shell :: no wifi adapter found ubuntu 18.04 
Shell :: ssh copy folder 
Shell :: create user with home directory ubuntu 
Shell :: Force add despite the .gitignore file 
Shell :: grep exclude files 
ADD CONTENT
Topic
Content
Source link
Name
8+9 =