CD Commands Cheat Sheet
Here is a cli commands cheat sheet for CD command, you can use this as a quick reminder for basic commands with a brief description for each of the commands.
What is CD command?
Add some data here
# Go to the given directory: cd path/to/directory # Go to home directory of current user: cd # Go up to the parent of the current directory: cd .. # Go to the previously chosen directory: cd - # Go to a physical dir instead of default -L: cd -P path/to/dir # Some people alias cd="cd -P" and pwd="pwd -P" # So that `ls ..` and `cd ..; ls .` yield the same thing.
Check out the CD command documentation .
You can also check our MegaSh cheatsheet tool, that has 150+ searchable linux cheat sheets in one page, so you never forget a command as you work again