Click to See Complete Forum and Search --> : Deleting (Easy):


Homer119
11-30-2002, 05:29 PM
ok heres an easy one

i had folders in root which i wanted to use as a dir, so i moved them to trash can, so i got into command

mkdir /root/folder/

and it says it alrdy exsists!

wats the command for del dir/files/folders

thx

z0mbix
11-30-2002, 05:36 PM
rmdir /foo but foo must be empty. If not you can use the --ignore-fail-on-non-empty argument, or just use rm -rf /foo, but this can be dangerous so read the man pages for rm and rmdir

Homer119
11-30-2002, 05:40 PM
thx man i got it




Thanks for help.