tldr/pages/common/cd.md

317 B

cd

Change the current working directory. More information: https://man.archlinux.org/man/cd.n.

  • Go to the given directory:

cd {{path/to/directory}}

  • Go to home directory of current user:

cd

  • Go up to the parent of the current directory:

cd ..

  • Go to the previously chosen directory:

cd -