If you are using the Terminal app on the Mac and want to know what is your current path, well all you need to do is run the pwd command.
The pwd command returns the working directory name.
Example:% pwd
/usr/local/bin
% pwd
/Users/c2ctech/Desktop/python
As you would see in the above examples, just by typing pwd on the Terminal prompt you get the path as a response which you can copy to the clipboard.

It is important to know a few Mac Terminal commands that are used together with pwd.
- cd: The change directory command to move between directories.
- ls: To list the files & subdirectories within the current directory.
- find: walk a file hierarchy
Have Questions? Post them here!
- How to find path of file on Mac Terminal
- How to disable Siri on Mac Monterey
- [fix] macOS Ventura xcrun: error: invalid active developer path missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
- Select Line Number TextEdit on Mac
- Go to Specific file path using Mac Finder
- How to find Java HOME in Mac Terminal
- bash: command not found error [macOS Terminal Linux, Unix or Windows]
- Must Know Homebrew Commands for Mac/Linux Users
- How to Insert an Inverted Question Mark on Mac ¿
- Hide Keyboard Text Input Icon on macOS Ventura Menu Bar
- How to make macOS Terminal window Transparent (or Opaque)
- How to check of Updates on Microsoft Edge Browser on Mac (macOS)
- Limit scrollback rows in macOS Terminal
- How to identify installed Java (JDK) Version on macOS
- Keyboard Shortcut to delete a file on a Mac [Macbook]
- Open Docker from Terminal Command on Mac
- Installing MongoDB on Linux/Unix/macOS/Ubuntu
- How to take a screenshot on a Mac - updated for Ventura 13 [updated 2023]
- ls: .: Operation not permitted - Mac Terminal ZSH Error
- How to remove username from Mac Menu Bar?
- macOS Ventura XCode Command Line Tools Installation
- Where is .zshrc file located in macOS
- How to Show Path of Files or App in Mac Spotlight Search
- How to enable root user on Mac Terminal
- Install Java 17 (LTS) JDK on ARM based M1/M2 Mac Natively
- Resolve - zsh: command not found: code - zsh
- [Fix] java: incompatible types: java.lang.String cannot be converted to int - Java
- How to reload zsh shell profile file? - zsh
- Microsoft Edge browser error on MAC - This page is having a problem Try coming back to it later - Microsoft
- ADT quit unexpectedly error on Mac OSX Android Eclipse SDK - Android
- How to SFTP to port different than 22 (SFTP Custom port) - FTP
- Generate Maven Project Dependency Tree using MVN Command - Java
- Project JDK is not defined [IntelliJ IDEA] - Java