cd

Syntax

cd [ remote-path ]

View

SFTP client view

Default level

3: Manage level

Parameters

remote-path: Specifies the name of a path on the server.

Description

Use cd to change the working path on a remote SFTP server. With the argument not specified, the command displays the current working path.

You can use the cd .. command to return to the upper-level directory.

You can use the cd / command to return to the root directory of the system.

Examples

# Change the working path to new1.

sftp-client> cd new1
Current Directory is:
/new1