You can navigate to your root folder from the file manager (nautilus by default), by clicking on Other locations from the sidebar, then Computer. From there you can find the opt folder that contains the lampp folder.
To make access to it easier, I suggest creating a symbolic link to it on your desktop with the following command:
The
htdocs
folder can be found in/opt/lampp/
.You can navigate to your root folder from the file manager (nautilus by default), by clicking on
Other locations
from the sidebar, thenComputer
. From there you can find theopt
folder that contains thelampp
folder.To make access to it easier, I suggest creating a symbolic link to it on your desktop with the following command:
Your files need to be stored in the following directory:
open terminal (shortcut is Ctrl + Alt + T ) and type
then you can open vs code or other text editors easily with terminal ex -
for vscode
How to see htdocs? if you are come from windows os .see gui just type on terminal
sudo nautilus
you will see gui file explorer Just go with root filesystem then path ...
opt /lampp /htdocs
With mouse pointer click like in windows.same xampp look .
one thing must do to access htdocs that is access permission so you can access via localhost in browser
so chmod -R 755 /opt/lampp/htdocs