2014-07-22 11:02:47 +01:00
|
|
|
# pwd
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
> Print name of current/working directory.
|
2021-04-01 16:54:26 +01:00
|
|
|
> More information: <https://www.gnu.org/software/coreutils/pwd>.
|
2014-07-22 11:02:47 +01:00
|
|
|
|
2016-01-07 17:31:27 +00: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`
|