2014-07-22 11:02:47 +01:00
|
|
|
# pwd
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
> Print name of current/working directory.
|
2021-03-30 15:07:33 +01:00
|
|
|
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/pwd-invocation.html>.
|
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
|
|
|
|
|
|
|
`pwd -P`
|