cd command followed by the directory path, such as cd /usr/local/bin/, to enter the /usr/local/bin/ directory.cd .. command to enter the parent directory of the current directory.cd ~ command to enter the home directory of the current user.cd - command to return to the last working directory.Note: In Linux, path names are case-sensitive, so make sure the case of the path matches the case of the actual directory.