• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# pwd<a name="EN-US_TOPIC_0000001133846488"></a>
2
3-   [Command Function](#section197737712267)
4-   [Syntax](#section1544061016267)
5-   [Parameters](#section599112120262)
6-   [Usage](#section66901116152615)
7-   [Example](#section7427181922612)
8-   [Output](#section116313389418)
9
10## Command Function<a name="section197737712267"></a>
11
12This command is used to display the current path.
13
14## Syntax<a name="section1544061016267"></a>
15
16pwd
17
18## Parameters<a name="section599112120262"></a>
19
20None
21
22## Usage<a name="section66901116152615"></a>
23
24The  **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.
25
26## Example<a name="section7427181922612"></a>
27
28Run  **pwd**.
29
30## Output<a name="section116313389418"></a>
31
32**Figure  1**  Displaying the current path<a name="fig1659412213529"></a>
33![](figure/displaying-the-current-path.png "displaying-the-current-path")
34
35