mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 21:22:09 +02:00
20 lines
312 B
Markdown
20 lines
312 B
Markdown
# cd
|
|
|
|
> Change the current working directory.
|
|
> More information: <https://manned.org/cd>.
|
|
|
|
- Go to the given directory:
|
|
|
|
`cd {{path/to/directory}}`
|
|
|
|
- Go to the home directory of the current user:
|
|
|
|
`cd`
|
|
|
|
- Go up to the parent of the current directory:
|
|
|
|
`cd ..`
|
|
|
|
- Go to the previously chosen directory:
|
|
|
|
`cd -`
|