cd


cd

Purpose

Change the current directory.

Syntax

cd [directory]

Options

None

Description

Typing cd without a directory name changes the current directory to your home directory. Otherwise, cd changes to the specified directory. cd is a built-in command of the Bash shell.