github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/docs/variables/pwd.md (about) 1 # `PWD` (path) 2 3 > Current working directory 4 5 ## Description 6 7 `PWD` is an environmental variable containing the current working directory. 8 9 It is updated via `cd` however you can overwrite its value manually via `export`. 10 11 12 13 ## Synonyms 14 15 * `pwd` 16 * `PWD` 17 18 19 ## See Also 20 21 * [`PWDHIST` (json)](../variables/pwdhist.md): 22 History of each change to the sessions working directory 23 * [`cd`](../commands/cd.md): 24 Change (working) directory 25 * [`export`](../commands/export.md): 26 Define an environmental variable and set it's value 27 * [`path`](../types/path.md): 28 Structured object for working with file and directory paths 29 30 <hr/> 31 32 This document was generated from [gen/variables/PWD_doc.yaml](https://github.com/lmorg/murex/blob/master/gen/variables/PWD_doc.yaml).