chdir

Linux cd command examples

Linux cd command FAQ: Can you share some Linux cd command examples?

The Linux cd command stands for "change directory". It is the primary command for moving between directories on a Unix/Linux filesystem.

Examples of the cd command

This first command moves you to the /usr directory. The /usr directory becomes your current working directory:

cd /usr

Similarly, this cd command moves you to the /tmp directory:

Syndicate content