All rights reserved, please indicate the source when citing
cd : Changing Directories
The command for changing directories iscd (change directory). Its usage is cd PATH, where PATH represents the path to the desired directory. This PATH can be an absolute path or a relative path.
Examples:
$ cd ../..← Navigate back two levels in the directory structure (relative path operation).
$ cd /usr/bin←Enter the directory " /usr/bin" (using absolute path)
$ cd ~←Enter the home directory
$ cd -←Return to the previous directory
Remember that the cd command only affects the current shell session. When you open a new terminal window or start a new shell session, you'll start in your home directory by default.
For more detailed explanations and examples of the cd command, please refer to the provided link.