To print the working directory, enter the following command:
The above command will print out the full path of the directory you are currently in.
Here’s an example of what the output would be if you used
pwd in your user directory (Name would be your username on your computer):
If you used
pwd in your Documents folder, the output would look like this:
Try the following command in your project folder:
Command Line Primer on the Apple Developer Archive (see the sections called Specifying Files and Directories and Frequently Used Commands)