Files
cheatsheet-tldr/tldr/pwd
2025-03-26 00:18:43 +00:00

22 lines
433 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# pwd
> Print the name of current/working directory.
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/pwd-invocation.html>.
- Print the current directory:
`pwd`
- Print the current directory, and resolve all symlinks (i.e. show the "physical" path):
`pwd {{[-P|--physical]}}`
- Display help:
`pwd --help`