# pwd<a name="EN-US_TOPIC_0000001051690315"></a>

-   [Command Function](#section197737712267)
-   [Syntax](#section1544061016267)
-   [Parameter Description](#section599112120262)
-   [Usage](#section66901116152615)
-   [Example](#section7427181922612)
-   [Output](#section116313389418)

## Command Function<a name="section197737712267"></a>

This command is used to display the current path.

## Syntax<a name="section1544061016267"></a>

pwd

## Parameter Description<a name="section599112120262"></a>

None

## Usage<a name="section66901116152615"></a>

The  **pwd**  command writes the full path name of the current directory \(from the root directory\) to the standard output. All directories are separated by slashes \(/\). The directory following the first slash \(/\) indicates the root directory, and the last directory is the current directory.

## Example<a name="section7427181922612"></a>

Enter  **pwd**.

## Output<a name="section116313389418"></a>

**Figure  1**  Querying the current path<a name="fig1659412213529"></a>  
![](figures/querying-the-current-path.png "querying-the-current-path")

