tldr/pages/common/pwd.md

17 lines
305 B
Markdown
Raw Permalink 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
2022-04-03 16:21:35 +01:00
`pwd -P`
2021-11-01 05:28:43 +00:00
- Print the current logical directory:
2022-04-03 16:21:35 +01:00
`pwd -L`