mirror of https://github.com/CrimsonTome/tldr.git
20 lines
209 B
Markdown
20 lines
209 B
Markdown
|
# cd
|
|||
|
|
|||
|
> 更改当前工作目录.
|
|||
|
|
|||
|
- 转到指定目录:
|
|||
|
|
|||
|
`cd {{路径}}`
|
|||
|
|
|||
|
- 转到当前用户的主(home)目录:
|
|||
|
|
|||
|
`cd`
|
|||
|
|
|||
|
- 转到当前目录的父目录:
|
|||
|
|
|||
|
`cd ..`
|
|||
|
|
|||
|
- 转到刚才选择的目录:
|
|||
|
|
|||
|
`cd -`
|