Javascript Menu by Deluxe-Menu.com
Removing directories

Removing directories

To remove a directory use the command:

   rmdir directory_name

The directory must be empty before you can delete it. You will need to remove any files and subdirectories that it contains.

To remove a directory that contains files use the command:

   rm -r directory_name

This deletes all the contents of the directory including any subdirectories.


[Home] [Search] [Index] This site maintained by unixhelp@math.rutgers.edu
This page was last updated on September 05, 2006 at 10:30 am and is maintained by webmaster@math.rutgers.edu.
For questions or comments about this site, please contact help@math.rutgers.edu.
© 2009 Rutgers, The State University of New Jersey. All rights reserved.