Cd (command)
is a shell command that changes the working directory. It is available in many shells and other applications that maintain a working directory. In some contexts, the command can perform actions other than change directory. Some environments provide the change directory feature via a different command name such as .
is a shell command that changes the working directory. It is available in many shells and other applications that maintain a working directory. In some contexts, the command can perform actions other than change directory. Some environments provide the change directory feature via a different command name such as . user@wikipedia:~$ ls workreports games encyclopedia text.txt user@wikipedia:~$ cd games user@wikipedia:~/games$ A similar session in Command Prompt might look like: C:\> dir workreports Wed Oct 9th 9:01 games Tue Oct 8th 14:32 encyclopedia Mon Oct 1st 10:05 text txt 1903 Thu Oct10th 12:43 C:\> cd games C:\games>
References
No reference rows published for this article.
Cite this article
MLA
"Cd (command)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/cd-command. Accessed 24 November 2026.
Chicago
"Cd (command)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/cd-command.
APA
encyclopegia.org. (2026). Cd (command). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/cd-command
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON