7 examples for cd

{{ score }}
  # Change to the previous directory
cd -
        
{{ score }}
  # Changes the current working directory to two directories back.
cd ../..
        
{{ score }}
  # Changes to the directory you were in before the current directory
cd -
        
{{ score }}
  # Change directory to your home folder
cd
        
{{ score }}
  # Enters my Documents folder (Documents directory is inside my current working directory).
cd Documents
        
{{ score }}
  # Enters Documents directory by using an absolute file path.
cd ~/Documents
        
{{ score }}
  # Change directory to your home folder
cd ~