tldr/pages/common/cd.md

21 lines
312 B
Markdown
Raw Normal View History

2014-05-08 21:45:56 +01:00
# cd
> Change the current working directory.
> More information: <https://manned.org/cd>.
2014-05-08 21:45:56 +01:00
- Go to the given directory:
2014-05-08 21:45:56 +01:00
`cd {{path/to/directory}}`
2014-05-08 21:45:56 +01:00
- Go to the home directory of the current user:
2014-05-08 21:45:56 +01:00
`cd`
- Go up to the parent of the current directory:
2014-05-08 21:45:56 +01:00
`cd ..`
- Go to the previously chosen directory:
2014-05-08 21:45:56 +01:00
2015-04-07 12:42:01 +01:00
`cd -`