mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-15 11:35:51 +02:00
cd: update page (#8350)
* Refresh cd.md * Refresh command description Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com>
This commit is contained in:
parent
bb28b5eccd
commit
b31a2dc305
1 changed files with 8 additions and 8 deletions
|
@ -1,13 +1,9 @@
|
||||||
# cd
|
# cd
|
||||||
|
|
||||||
> Displays the name of or changes the current working directory.
|
> Display the current working directory or change the current working directory.
|
||||||
> More information: <https://docs.microsoft.com/windows-server/administration/windows-commands/cd>.
|
> More information: <https://docs.microsoft.com/windows-server/administration/windows-commands/cd>.
|
||||||
|
|
||||||
- Go to a directory in the same drive:
|
- Display the path of the current directory:
|
||||||
|
|
||||||
`cd {{path/to/directory}}`
|
|
||||||
|
|
||||||
- Display the name of the current directory:
|
|
||||||
|
|
||||||
`cd`
|
`cd`
|
||||||
|
|
||||||
|
@ -15,6 +11,10 @@
|
||||||
|
|
||||||
`cd ..`
|
`cd ..`
|
||||||
|
|
||||||
- Go to a directory in a different drive:
|
- Go to a specific directory in the same drive:
|
||||||
|
|
||||||
`cd {{path/to/directory}} /d`
|
`cd {{path\to\directory}}`
|
||||||
|
|
||||||
|
- Go to a specific directory in a different [d]rive:
|
||||||
|
|
||||||
|
`cd /d {{C}}:{{path\to\directory}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue