mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-30 15:41:38 +00:00
22 lines
412 B
Plaintext
22 lines
412 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# pwd
|
|
|
|
> Print name of current/working directory.
|
|
> More information: <https://www.gnu.org/software/coreutils/pwd>.
|
|
|
|
- Print the current directory:
|
|
|
|
`pwd`
|
|
|
|
- Print the current directory, and resolve all symlinks (i.e. show the "physical" path):
|
|
|
|
`pwd --physical`
|
|
|
|
- Print the current logical directory:
|
|
|
|
`pwd --logical`
|