Skip to content

Instantly share code, notes, and snippets.

@MaxySpark
Created June 3, 2017 18:02
Show Gist options
  • Select an option

  • Save MaxySpark/be6dde48bcbe7f04fc5eda465b9b39ab to your computer and use it in GitHub Desktop.

Select an option

Save MaxySpark/be6dde48bcbe7f04fc5eda465b9b39ab to your computer and use it in GitHub Desktop.
My Bash Scripts
sudo apt-get update
sudo apt-get upgrade
sudo service mysql stop
sudo service apache2 stop
sudo /opt/lampp/xampp $1
# pass start or stop as parameter
# ./xampp stop
# ./xampp start
@MaxySpark
Copy link
Copy Markdown
Author

first make it executable by

chmod +x <script>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment