how to start xampp control panel ubuntu 20.04 code example
Example: 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