2

I am a developer and I want to access the applications folder through terminal. After typing in cd Applications and then ls. It doesn't show any of the contents inside the folder. I also tried ls -a to confirm wether they are stored as hidden files. But it didn't show them. I want to know a command or method to view the contents of the Application folder through terminal.

1 Answer 1

4

The main Applications directory is in the root directory, so you need to type

cd /Applications
ls -1

to access it (the -1 option to ls will ensure that the applications are listed in a single column only).

2
  • 2
    There also can be an Applications directory in~, and this is what the OP changed directory into originally. Commented Sep 23, 2019 at 8:45
  • Or just ls /Applications
    – Kevin
    Commented Sep 23, 2019 at 17:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .