cd

Purpose

Changes the current directory to the specified directory.

Syntax and Description

cd [dir]

Table 10-31 lists the options for the cd command.


Table 10-31 Options for the cd command

Option Description

dir

Name of the directory.


dir can be specified as either an absolute path or a relative path, including the . and .. pseudo-directories. dir can contain wildcard characters. See "Wildcard Characters".

Examples

The following are examples of the cd command changing into various directories.

Example 10-40 Using the ASMCMD cd command

ASMCMD [+data/hr] > cd +data/orcl

ASMCMD [+data/orcl] > cd DATAFILE

ASMCMD [+data/orcl/DATAFILE] >cd ..