mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
cd: page update (#7875)
* Refresh cd page: - group examples - add new example with ~user - refresh grammar * Fix syntax error * Use "username" instead of "user_name" Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com>
This commit is contained in:
parent
bebfa4e965
commit
24aa00d414
1 changed files with 9 additions and 5 deletions
|
@ -3,18 +3,22 @@
|
|||
> Change the current working directory.
|
||||
> More information: <https://manned.org/cd>.
|
||||
|
||||
- Go to the given directory:
|
||||
- Go to the specified directory:
|
||||
|
||||
`cd {{path/to/directory}}`
|
||||
|
||||
- Go to the home directory of the current user:
|
||||
|
||||
`cd`
|
||||
|
||||
- Go up to the parent of the current directory:
|
||||
|
||||
`cd ..`
|
||||
|
||||
- Go to the home directory of the current user:
|
||||
|
||||
`cd`
|
||||
|
||||
- Go to the home directory of the specified user:
|
||||
|
||||
`cd ~{{username}}`
|
||||
|
||||
- Go to the previously chosen directory:
|
||||
|
||||
`cd -`
|
||||
|
|
Loading…
Add table
Reference in a new issue