Added function of typing only cd in terminal (#18702)

cd will move you to the Home directory
This commit is contained in:
Tanuj Nagpal
2018-10-14 02:24:05 +05:30
committed by Quincy Larson
parent b5a122baaa
commit 2154708115

View File

@ -12,6 +12,6 @@ There are a few really helpful arguments to aid this:
- `..` can be used to move up one folder, use `cd ..`, and can be combined to move up multiple levels `../../my_folder`
- `/` is the root of your system to reach core folders, such as `system`, `users`, etc.
- `~` is the home directory, usually the path `/users/username`. Move back to folders referenced relative to this path by including it at the start of your path, for example `~/projects`.
- Typing only `cd` will move to the home directory works same as `cd ~`
### More Information:
* [Wikipedia](https://en.wikipedia.org/wiki/Cd_(command))