6.2.8.1 cd

Change the current directory.

Purpose

The cd command allows you to change the current directory for file operations. File operations are performed relative to the specified directory if absolute paths are not used.

Syntax

cd directory

Command Options

directory: Specifies the directory to change to. You can specify an absolute directory path or a directory path that is relative to the current directory.

Examples

Example 6-73 Change Directories using an Absolute Directory Path

You can change to a specified absolute directory path, such as @VAULT/dir.

@> cd @VAULT/dir
@VAULT/dir/>

Example 6-74 Change Directories using a Relative Directory Path

You can change directories using a specified relative directory path, such as ../dir2.

@VAULT/dir/> cd ../dir2
@VAULT/dir2/>