How can I delete a directory?
Novell Cool Solutions: Question & Answer
Reader Rating
from 2 ratings
Q:
How can I delete a directory?
A:
You can delete a empty directory with "rmdir".
If the directory isn't empty you can use "rm" with the option "-r".
example:
rmdir /home/user
or
rm -r /home/user
*note* Windows usually asks you if you are sure before deleting things. Linux usually does not, so be careful.
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com
Reader Comments
- That's one I struggled with for MONTHS before figuring it out.