mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-24 12:52:06 +00:00
Update cheatsheets
This commit is contained in:
33
cd
Normal file
33
cd
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# cd
|
||||
|
||||
> Change the current working directory.
|
||||
> More information: <https://manned.org/cd>.
|
||||
|
||||
- Go to the specified directory:
|
||||
|
||||
`cd {{path/to/directory}}`
|
||||
|
||||
- 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 -`
|
||||
|
||||
- Go to the root directory:
|
||||
|
||||
`cd /`
|
||||
Reference in New Issue
Block a user