cd

The cd command sets the current working directory.

Command Format

cd [path]

where:

path new path to be used as current directory
.. go up one livel in the hierarchy

 

Functional description

The cd command sets the current working directory to path.

The argument .. moves the current directory path up one level unless the current path is already at the root level '/'.

Environment

The command uses no environment variable.

See Also

The pwd, dir and ls commands.

Powered by Drupal, an open source content management system