• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# pwd
2
3
4## Command Function
5
6This command is used to display the current path.
7
8
9## Syntax
10
11pwd
12
13
14## Parameters
15
16None.
17
18
19## Usage Guidelines
20
21The **pwd** command writes the full path (from the root directory) of the current directory to the standard output. The directories are separated by slashes (/). The directory following the first slash (/) indicates the root directory, and the last directory is the current directory.
22
23
24## Example
25
26Run **pwd**.
27
28
29## Output
30
31Current path:
32
33
34```
35OHOS:/sdcard/nfs$ pwd
36/sdcard/nfs
37```
38