Here are some common cd commands you can use:
-
Change to Parent Directory:
cd ..This command moves you up one level in the directory hierarchy.
-
Change to Home Directory:
cd ~This command takes you directly to your home directory.
-
Change to Previous Directory:
cd -This command switches back to the last directory you were in.
-
Change to Absolute Path:
cd /path/to/directoryReplace
/path/to/directorywith the full path to the directory you want to access. -
Change to Current Directory:
cd .This command does nothing but can be used to confirm you are in the current directory.
Feel free to ask if you need more information or examples!
