pwd
pwd
[-LP
]Print your present working directory on standard output. The second form is specific to the Korn shell.
Options give control over the use of logical versus physical treatment of the printed path. See the entry for cd, earlier in this section.
-L
Use logical path (what the user typed, including any symbolic links) and the value of PWD for the current directory. This is the default.
-P
Use the actual filesystem physical path for the current directory.