Unable to find Applications folder in Mac's terminal

I tried the following code unsuccessfully

find Applications | xargs -0 grep Applications

I also tried the following unsuccessfully

find Applications

Upvotes: 2

Views: 18685

Answers (2)

popcnt
popcnt

Reputation: 4645

Was it something instead like:

mdfind Applications | grep Applications

mdfind is a command line interface to Spotlight. Somehow, I doubt this is what you were looking for.

The following command will find the names of Mac apps you have installed somewhere under /Applications.

find /Applications -type d -name "*.app"

Your question as phrased is pretty hard to help with, since you are not stating what your overall intent is...

Upvotes: 7

RibaldEddie
RibaldEddie

Reputation: 5136

It's in /Applications.

Try

find /Applications

Upvotes: 3

Related Questions