PWD (path)
Less than 1 minuteSpecial VariablesEnvironmental VariablesDefined by POSIX
PWD
(path)
Current working directory
Description
PWD
is an environmental variable containing the current working directory.
It is updated via cd
however you can overwrite its value manually via export
.
See Also
- Change Directory (
cd
): Change (working) directory - Define Environmental Variable (
export
): Define an environmental variable and set it's value PWDHIST
(json): History of each change to the sessions working directorypath
: Structured object for working with file and directory paths
This document was generated from gen/variables/PWD_doc.yaml.