< Home

pwd (SFTP client view)

Function

The pwd command displays the working directory on the remote SFTP server.

Format

pwd

Parameters

None

Views

SFTP client view

Default Level

3: Management level

Usage Guidelines

After running the pwd command, if you find the working directory is incorrect, you can run the cd command to modify the working directory of SFTP client on the SFTP server.

Example

# Display the working directory on the remote SFTP server.

<sysname> system-view
[sysname] sftp 10.1.1.1 
Please input the username:client001
Trying 10.1.1.1 ...
Press CTRL+K to abort
Enter password:   
sftp-client> pwd
hda1:
sftp-client> cd hda1:/zxw
Current directory is:
hda1:/zxw
sftp-client> pwd
hda1:/zxw
sftp-client>
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >