@carlio the `$PWD` variable is available without executing the `pwd` command.

> $PWD
> Working directory (directory you are in at the time)
>
> This is the analog to the pwd builtin command.

http://www.tldp.org/LDP/abs/html/internalvariables.html