Created
June 3, 2017 18:02
-
-
Save MaxySpark/be6dde48bcbe7f04fc5eda465b9b39ab to your computer and use it in GitHub Desktop.
My Bash Scripts
This file contains hidden or 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
| sudo apt-get update | |
| sudo apt-get upgrade |
This file contains hidden or 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
| sudo service mysql stop | |
| sudo service apache2 stop | |
| sudo /opt/lampp/xampp $1 | |
| # pass start or stop as parameter | |
| # ./xampp stop | |
| # ./xampp start |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
first make it executable by
chmod +x <script>