Files
cheatsheet-tldr/tldr/pwd
2025-01-19 00:18:40 +00:00

18 lines
381 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`