how to restart xampp in ubuntu code example

Example 1: how to start xampp in ubuntu

sudo /opt/lampp/lampp start
cd /opt/lampp/
ls
sudo ./manager-linux-x64.run

Example 2: restart xampp linux

sudo /opt/lampp/lampp stop
sudo /opt/lampp/lampp start

Example 3: open XAMPP in ubuntu

>>> cd /opt/lampp/

>>> ls 

>>> sudo ./manager-linux-x64.run

Example 4: create xampp shortcut ubuntu

[Desktop Entry]
Encoding=UTF-8
Name=XAMPP Control Panel
Comment=Start and Stop XAMPP
Exec=sudo /opt/lampp/manager-linux-x64.run
Icon=/opt/lampp/htdocs/favicon.ico
Categories=Application
Type=Application
Terminal=true