Page 1 of 1

Posted: Mon Jul 02, 2007 6:13 am
by Husse
Why do you want to delete a folder not in your /home?
Normally you should not do that...

Code: Select all

sudo rm /path_to_your_folder/your_folder
Don't do this unless you are sure you can delete the folder!
//edit//After Boo's post I see the typo - rmdir not rm :)/

Posted: Mon Jul 02, 2007 8:37 am
by Boo
the commands are

rmdir /path/to/directory

if the folder is not empty use.

rm -rf /path/to/file_or_dir

use sudo if you really want to get rid of stuff.

but you are warned one wrong move and you system is gone. :twisted:

:D