Name

pwd — Show present working directory

Synopsis

pwd

Description

This command can be used to show the present working directory. This information is also available in the PWD shell variable.

Example 12.3. Using the pwd command and PWD variable to show the present working directory

>cd (hd0)/boot
>pwd
(hd0)/boot
>echo $PWD
(hd0)/boot
>cd ../var
>pwd
(hd0)/var
>