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.
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.