Macos – How to use Terminal to navigate into a desktop shortcut or folder in applications

macosterminal.app

I'm on a Mac and watching a tutorial on setting up Git.

I'm in the terminal and currently on the Desktop. I can us ls to list all the items on my desktop, and cd into any of the folders on my Desktop, but I can't get into my localhost shortcut (which leads to the MAMP folder in applications where all my websites are).

Error message:

enter image description here

1) How do you navigate into a shortcut, or

2) How do you navigate into the Main Mac folder (I can't see or cd into it from the terminal)

Best Answer

In order to get to the Main Mac folder, you can do cd /

Related Question