How to access XAMPP/Lampp folder via Terminal on Mac

terminalxampp

I recently started using XAMPP on Mac and it installed the "lampp" folder under "Shared" and showing as an IP address in Finder. So I can access the files via Finder but I'm unable to cd into the folder via Terminal.

The Shared folder is simply not visible. I tried /Volumes to see all volumes, but "lampp" wasn't listed, as well mounting it somehow but that also didn't work. Any ideas? It's so odd that I see the folder in Finder but not in Terminal!

Best Answer

I had the same problem the route for htdocs is the following:

cd /Users/***your_user_name***/.bitnami/stackman/machines/xampp/volumes/root/htdocs

"username" only replaces that line by the name of your user

Example, for me it would be:

cd /Users/adanuri/.bitnami/stackman/machines/xampp/volumes/root/htdocs