Commands.app

cd

File Management

Change the current directory

Examples
Common usage examples

Change to specified directory

cd /path/to/directory

Move up one directory level

cd ..

Change to home directory

cd ~

Change to previous directory

cd -
Notes
  • Without arguments, cd returns to home directory
  • Use Tab key for auto-completion
Related Commands
You might also find these useful