Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

restart apache

sudo systemctl restart apache2
# or
sudo service apache2 restart
Comment

linux apache restart

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 restart

# CentOS/RedHat
sudo service httpd restart

# Debian/Ubuntu
sudo service apache2 restart
Comment

apache start stop restart

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

PREVIOUS NEXT
Code Example
Shell :: clear teams cache powershell 
Shell :: terminal command to create new file 
Shell :: test cpu linux 
Shell :: how to kill process ubuntu 
Shell :: install prettier npm 
Shell :: vscode safe mode 
Shell :: ubuntu install ssh-agent 
Shell :: powershell add user to remote desktop group 
Shell :: history terminal commad getting limited 
Shell :: check ip address linux 
Shell :: install brew m1 mac 
Shell :: Push a New Branch To Remote Repository in git command 
Shell :: gcc alternatives 
Shell :: install brave browser 
Shell :: compress directory with tar and bzip2 
Shell :: linux mount nfs share 
Shell :: ubuntu check tomcat version 
Shell :: remove all local branches not on remote 
Shell :: ETIMEDOUT Error while installing Node packages on Windows 
Shell :: how to make file in powershell 
Shell :: Module enzyme-to-json/serializer in the snapshotSerializers option was not found. <rootDir is 
Shell :: find tomcat location in mac 
Shell :: flask 
Shell :: conda install cython 
Shell :: git remove last pushed commit 
Shell :: are github and git same thing 
Shell :: linux remove root access 
Shell :: install cuda in ubuntu 
Shell :: windows execute powershell script define user 
Shell :: amplify remove environment 
ADD CONTENT
Topic
Content
Source link
Name
4+8 =