Use the pwd (print working directory) command to display the absolute pathname of your current directory.

After entering the command, your current directory will be displayed and then you will be returned to the command prompt.

Command Format

pwd

Examples

$ pwd
/home/chuck/play
$