thedark Second Lieutenant
Joined: 30 Jul 2005
Posts: 1074
|
Posted: Wed Aug 03, 2005 8:48 pm Post subject: delete directories |
|
|
If you have ownership to the directory and the directory is empty, you can simply type rmdir directoryname to remove the directory. If the directory is not empty and you wish to simply delete it and all its contents, run rm -rf directoryname
Please be careful with the -rf flag, as it will remove everything in the specified directory including sub directories. With root access and the rm -rf command you can wipe out your entire system if you make an error. |
|