Sure! Here are some examples of using the cd command to navigate directories:
-
Change to a specific directory:
cd /home/user/Documents -
Change to a directory one level up (parent directory):
cd .. -
Change to the home directory:
cd ~ -
Change to a directory using a relative path:
cd ../Pictures -
Change to the previous directory you were in:
cd - -
Change to a directory with spaces in its name:
cd "My Folder"
These commands will help you navigate through the file system in a Unix-like environment.
