>pwd_
The command
The working directory is the directory where you are standing in. So for knowing where you are, you can use the pwd command.
pwd
(abbreviation of print working directory, it returns the
corrent directory) it is a command, that show the absolute pathname on the corrent directory.The working directory is the directory where you are standing in. So for knowing where you are, you can use the pwd command.
cd /home/user pwd = /home/user
Flags
-P
Show the working directory path without symbolic link (links to folder).
Example: /home/symphoto a symlink to /home/photospwd -P
will display /home/photos.-L
Show the working directory logical path with symbolic link.
Example: /home/symphoto, that redirect to /home/photos,pwd -L
will show /home/symphoto.- Without any flag, -L is assumed, so the normal pwd is in reality
pwd -L
.