< Home

cd (user view)

Function

The cd command switches the current working directory to a specified directory.

By default, the default working directory is used.

Format

cd { .. | directory }

Parameters

Parameter Description Value
.. Returns to the upper-level directory. If the current directory is a root directory, the system prompts you that no directory can be found. -
directory Specifies the name of destination directory. The value is a string of 1 to 64 case-insensitive characters without a blank space.

Views

User view

Default Level

3: Management level

Usage Guidelines

The current working directory can be changed only by the user at the management level.

Example

# Change the current working directory to update.

<sysname> cd update
<sysname> pwd
hda1:/update
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >