Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

apache restart

# CentOS/RedHat
sudo service httpd restart

# Debian/Ubuntu
sudo service apache2 restart
Comment

apache not restart

cd /etc/apache2
apache2ctl configtest

sudo mkdir -p /var/log/apache2/
sudo chmod -R 744 /var/log/apache2/
Comment

PREVIOUS NEXT
Code Example
Shell :: copy code from one repo to another git 
Shell :: install vmware workstation linux mint 
Shell :: copy file from ssh server to local 
Shell :: shell redirect all to /dev/null 
Shell :: getting error while installing npm react-redux-form 
Shell :: debian EXPKEYSIG 
Shell :: how to install snapd on ubuntu 
Shell :: git merge origin/master into branch 
Shell :: android studio git 
Shell :: permissions do not allow pasting files in this directory 
Shell :: ubuntu install dbeaver 
Shell :: update msfconsole 
Shell :: how to instal git on mac 
Shell :: How to check if ssh-agent is already running in bash 
Shell :: terraform version command 
Shell :: Check /app/package.json: command not found. Is a start script missing? https://help.glitch.com/kb/article/31 
Shell :: creating docker based vms with ranchervm but requires KVM installed 
Shell :: step to install vue project in visual studio code 
Shell :: it is required that your private key files are not accessible by others ubuntu 
Shell :: how to find zero byte files 
Shell :: bash execute command in variable 
Shell :: move all files in subdirectories to current directory linux 
Shell :: how to create release in github 
Shell :: debian pinning packages 
Shell :: rename a branch alredy pushed 
Shell :: yum list installed packages from specific repo 
Shell :: ubuntu command upgrade application 
Shell :: git show which commits deleted file 
Shell :: install apk adb 
Shell :: ubuntu add multiverse 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =