Last active
April 2, 2018 18:44
-
-
Save h3nr1ke/0637b2a617354efa525e9f45c5325748 to your computer and use it in GitHub Desktop.
maintenance commands ubuntu server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#restart nginx | |
service nginx restart | |
#restart php | |
service php7.0-fpm restart | |
#list all services running | |
service --status-all | |
#add path | |
export PATH=$PATH:/sbin | |
#shutdown | |
sudo poweroff | |
#restart | |
sudo reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment