mirror of https://github.com/CrimsonTome/tldr.git
21 lines
429 B
Markdown
21 lines
429 B
Markdown
|
# cd
|
||
|
|
||
|
> Displays the name of or changes the current working directory.
|
||
|
> More information: <https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/cd>.
|
||
|
|
||
|
- Go to a directory in the same drive:
|
||
|
|
||
|
`cd {{path/to/directory}}`
|
||
|
|
||
|
- Display the name of the current directory:
|
||
|
|
||
|
`cd`
|
||
|
|
||
|
- Go up to the parent of the current directory:
|
||
|
|
||
|
`cd ..`
|
||
|
|
||
|
- Go to a directory in a different drive:
|
||
|
|
||
|
`cd {{path/to/directory}} /d`
|