--- layout: page category-page: basic category-title: Basic commands author: Joy Albertini tags: directory current path pwd title: pdw ---
The pwd
command (path of working directory)
The absolute pathname of the current working directory is given as result.
cd /home/user pwd = /home/user
-P
Show the working directory path without symbolic link (links to folder) PWD
/home/symphoto, symphotos is a symlink to /home/photos PDW-P
will show /home/photos-L
Show the working directory logical path with symbolic link. PWD -L
will show /home/symphoto