Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to navigate to htdocs of XAMPP in MacOSX via the terminal

I have installed XAMPP in my Mac OSX El Captain. Now I need to navigate to the htdocs via the command line. I am very new to this. Can someone help me on the same.

Thanks in advance

like image 266
bably Avatar asked Oct 20 '25 21:10

bably


2 Answers

  1. open application folder
  2. find xampp folder at bottom
  3. get inside and findout htdocs folder
  4. open terminal
  5. drag the htdocs folder to terminal

you will get the path

like image 160
Saikat Hajra Avatar answered Oct 22 '25 11:10

Saikat Hajra


Go to terminal and type the following... High Siera 10.13.3

cd /Applications/XAMPP/htdocs
like image 26
DragonFire Avatar answered Oct 22 '25 13:10

DragonFire