tldr/pages/common/cd.md

20 lines
255 B
Markdown
Raw Normal View History

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