cd command is used to navigate around the Linux filesystem. In this post I'll show the most common uses of the
To move to another directory on the filesystem just use the Linux
cd command to move to the desired directory. For instance, this command:
moves you to the
/tmp directory, and this command:
would move you to a directory named
/foo/bar, assuming that directory existed.