Files
cheatsheet-tldr/tldr/pwd
2025-03-13 00:18:34 +00:00

18 lines
398 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# pwd
> Print 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]}}`