pwd Command in Linux

The pwd command prints the current working directory in Linux.

Rajdeep Singh
Rajdeep Singh

1 min read

Table of contents

PWD command full name means of Print Working Directory. It prints the path of the current working directory, starting from the root.

PWD is an environment variable that stores the path of the current working directory.


pwd [options]
copy success
PWD command output


all options in the PWD command

pwd -L and pwd -P flag option work with Ls Command.

![pwd command --help flag output](/images/post/2021/01/man-hlp-flag.png "pwd command --help flag output" >}}

pwd version flag output

pwd command man flag output


pwd command only uses for the print current working directory path.

If you have any questions or feedback, feel free to leave a comment below.