linux how to change directory
To change directories while in a *nix environment, use the cd command. Below are some basic examples of how this command can be used to change directories. Before changing directories, you need to know what directories are available in the current directory. To do this, use the ls command.For example, type the below command to only list directories in the current directory. ls-d */. See the ls command page for further information and examples of this command. Once you know the directory is available, type a command similar to the below command.or example, type the below command to only list directories in the current directory. dir /ad. See the dir command page for further information and examples of this command. In the picture is an example of the tree command that list all directories and subdirectories from your current location.