#!/bin/bash # Allow to start/stop xampp easily # To be put in /bin or /usr/bin # >> xampp start # to start xampp # >> xampp stop # to stop xampp # feb. 2016 - Léo M. - public domain if [ "$1" == "start" ] then sudo /opt/lampp/lampp start else sudo /opt/lampp/lampp stop fi