Here are some common cd commands you can use in the terminal:
-
Change to a specific directory:
cd directory_nameReplace
directory_namewith the name of the directory you want to navigate to. -
Go up one directory level:
cd .. -
Navigate to the home directory:
cd ~or simply:
cd -
Change to the previous directory:
cd - -
Change to an absolute path:
cd /path/to/directoryReplace
/path/to/directorywith the full path of the directory you want to access.
These commands help you navigate through the file system efficiently.
