Mathematician....
Mathematician....

Reputation: 31

Using cd command on Terminal Mac OSX

Hello I'm new on terminal.

Can someone explain what is the difference between cd /Applications and cd Applications

Upvotes: 0

Views: 7113

Answers (1)

schmunk
schmunk

Reputation: 4708

It depends on in which path you run cd Applications.

Run pwd to print the current working directory. You usually are in your home directory, when opening a fresh terminal. So it should be /Users/you/Applications.

A path starting with a / is an absolute path, so always /Applications.

Upvotes: 2

Related Questions