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

stop apache service

sudo systemctl stop apache2
Comment

stop apache server

Stop apache2 server
Comment

PREVIOUS NEXT
Code Example
Shell :: check ram on linux 
Shell :: remove module and clear cache and install npm w expo 
Shell :: kill process linux using port 
Shell :: could not install packages due to an oserror 
Shell :: mac anydesk start at login 
Shell :: git commit --amend choose editor 
Shell :: apache config directory 
Shell :: how to stop docker service windows 
Shell :: linux get url after redirections 
Shell :: how to compare float values in shell script 
Shell :: Reset Gnome desktop settings to factory defaults 
Shell :: git update upstream url 
Shell :: arch linux remove nodejs 
Shell :: install protonvpn on linux mint 
Shell :: install .deb file in ubuntu 
Shell :: tmux kill session 
Shell :: taskkill 
Shell :: brew install iterm2 
Shell :: install serverless 
Shell :: network manger linux 
Shell :: Running Laravel Application On Another Port 
Shell :: notepad++ linux 
Shell :: how to send desktop notification in ubuntu 
Shell :: install wget debian 
Shell :: alpine install psql 
Shell :: see all ADS in a file 
Shell :: use alternative composer version cpanel ssh 
Shell :: install calliope 
Shell :: add to path windows powershell 
Shell :: find git repo size 
ADD CONTENT
Topic
Content
Source link
Name
3+9 =