Terminal Icon

Finding out where you are in Terminal

When you are logged in to the Terminal command line, you are always located in a particular directory. The default starting location is your home directory.

You can see which directory you are in by using the pwd (present working directory) command. It shows the path to the current directory.

To see the directory where you are located:

Enter “pwd”.

For example, if you’re located in the directory Utilities folder in the Applications folder, you’ll see:

/Applications/Utilities

For more information on the pwd command, see the pwd man page by entering “man pwd” in the Terminal window.


Related Topics

Using UNIX conventions for describing item locations

UNIX

Open

man page for pwd