Skip to content

Instantly share code, notes, and snippets.

@samayo
Created January 9, 2017 13:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samayo/ac7ea0a148916752f5c3b867bef425e8 to your computer and use it in GitHub Desktop.
Save samayo/ac7ea0a148916752f5c3b867bef425e8 to your computer and use it in GitHub Desktop.
#!/bin/bash
#This is a basic bash script for common commands
set -e
# DIRS
service nginx restart
service php-fpm restart
service mariad restart
mount -t vboxsf www /var/www
setenforce 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment