tldr/pages/common/pwd.md

17 lines
320 B
Markdown
Raw Normal View History

2014-07-22 11:02:47 +01:00
# pwd
> Print name of current/working directory.
> More information: <https://www.gnu.org/software/coreutils/pwd>.
2014-07-22 11:02:47 +01:00
- Print the current directory:
2014-07-22 11:02:47 +01:00
`pwd`
2016-02-23 01:51:07 +00:00
- Print the current directory, and resolve all symlinks (i.e. show the "physical" path):
2014-07-22 11:02:47 +01:00
2021-11-01 05:28:43 +00:00
`pwd --physical`
- Print the current logical directory:
`pwd --logical`