next up previous
Next: Looking at the Contents Up: USING UNIX Previous: MovingCopying and Removing

Changing, Creating and Removing Directories (cd, mkdir, rmdir)

You make a new directory via mkdir newdirectoryname. You can remove a directory using rmdir directoryname. To remove a directory, you must first remove all the files it contains.

To change directories to a directory that is contained in the current directory use cd directoryname. To move up one directory cd .. does the trick. To move to a directory on the same level, i.e. both the current directory and the desired one are both contained in the same directory, use cd ../directoryname.