tldr/pages/common/cd.md

20 lines
260 B
Markdown

# cd
> Change the current working directory.
- Go to the given directory:
`cd {{/path/to/directory}}`
- Go to home directory of current user:
`cd`
- Go up to the parent of the current directory:
`cd ..`
- Go to the previously chosen directory:
`cd -`