The cd command changes the current working directory of SSH users.
Format
cd [ remote-directory ]
Parameters
Parameter
Description
Value
remote-directory
Specifies the directory name of the SFTP server.
The value is a string. The absolute path of the directory ranges from 1 to 64 characters.
Views
SFTP client view
Default Level
2: Configuration level
Usage Guidelines
The remote-directory specified in this command must exist on the server. If the remote-directory is not specified in this command, only the current working directory of SSH users will be displayed.
Example
# Switch the current working directory of SSH users to bill.
<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> cd bill
Current directory is:
/bill