Changing Directories with cd
To explore Unix and its capabilities, you'll need to move around among the directories. You do so using the cd command, which takes you from the directory you're currently in to one that you specify. Code Listing 1.4 illustrates how you use cd to change directories.
Code Listing 1.4. Using cd, you can change directories and move around in the system. Note that the prompt in this code listing shows the name of the current directory, which can be handy.
To change directories: