how to start xampp in ubuntu 20.04 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: install xampp ubuntu 20.04

// download the xampp from this link
https://www.apachefriends.org/download.html

// navigate to Download folder
cd ~/Download

// make the run file exec
chmod +x xampp-linux-(xampp version)-installer.run 

// run the exec file with sudo
sudo ./xampp-linux-(xampp version)-installer.run

Example 3: open xampp control panel from terminal ubuntu 20

//you have to stop the Apache2 and MySQL.

$sudo /etc/init.d/apache2 stop

$sudo /etc/init.d/mysql stop

//And then restart Xampp server

$sudo /opt/lampp/lampp restart

Example 4: xampp ubuntu 20.04

to install xampp ubuntu 20.04 
follow this link
https://linuxconfig.org/how-to-install-xampp-on-ubuntu-linux