tty.help
Appearance

Display preferences are saved in this browser.

cdMove through folders

Change the working directory of the current shell. cd .. moves to the parent directory.

Label
Shell state
Edited
2026-11-07
References
1 official

Example

cd ./project
  1. cdCommand nameAliases, shell functions, wrappers and PATH can change which program runs.
  2. ./projectArgumentsFlags and operands as written. Quoting and expansion can change them before the program starts.
Illustrative syntax only. Do not run this without confirming the target and environment.

Things to check

A failed cd does not stop a later command separated by a semicolon. The working directory determines relative targets.

Before you run it

Use cd ./project && pwd to continue only when the directory change succeeds.

Ask your agent

“Explain the entire command, including every flag and operator. What exact files, services or permissions could it affect, and how will we verify the result?”

Context is part of the command

A command name alone cannot determine safety. Aliases, shell functions, expansions, flags, permissions and working directory can change its behavior.

Explore a full command