Bash Internal variables $PWD


Example

PWD (PrintWorkingDirectory) The current working directory you are in at the moment:

~> $ echo $PWD
/home/user
~> $ cd directory
directory> $ echo $PWD
/home/user/directory