home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


pwd

pwd
pwd [-LP ]

Print your present working directory on standard output. The second form is specific to the Korn shell.

Options

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.


Previous: Reference: printf UNIX in a Nutshell: System V Edition Next: Reference: r
Reference: printf Book Index Reference: r

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System