1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-02 11:17:59 +01:00
tldr/pages/common/cd.md

20 lines
260 B
Markdown
Raw Normal View History

2014-05-08 22:45:56 +02:00
# cd
> Change the current working directory.
2014-05-08 22:45:56 +02:00
- Go to the given directory:
2014-05-08 22:45:56 +02:00
2015-04-07 13:42:01 +02:00
`cd {{/path/to/directory}}`
2014-05-08 22:45:56 +02:00
- Go to home directory of current user:
2014-05-08 22:45:56 +02:00
`cd`
- Go up to the parent of the current directory:
2014-05-08 22:45:56 +02:00
`cd ..`
- Go to the previously chosen directory:
2014-05-08 22:45:56 +02:00
2015-04-07 13:42:01 +02:00
`cd -`