Reputation: 31
Hello I'm new on terminal.
Can someone explain what is the difference between cd /Applications and cd Applications
Upvotes: 0
Views: 7113
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