xampp stop linux code example Example: restart xampp linux sudo /opt/lampp/lampp stop sudo /opt/lampp/lampp start