tldr/pages/common/cd.md
2016-08-25 22:56:19 +05:30

259 B

cd

Change the current working directory.

  • 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 -