CSC373/406: linux: cd: Change the current directory [23/42] Previous pageContentsNext page

Arguments: target_directory

Options:

Description: Change the current directory (working directory) to the specified target_directory. If no target_directory is specified, change to the login/home directory.

Example:

$ cd hw1

The following changes the current directory to the parent directory:

$ cd ..

Previous pageContentsNext page