Re: How to kill a dir?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Original e-mail from: WipeOut (wipe_out@xxxxxxxxxxxxxxxxxxxxx):

> 
> >
> >
> >Naw let's not let Fedora get the best of us.  Two questions;
> >1. are you doing this as root?
> >2. is your rm command aliased to something else? (try "alias rm" to check).
> >
> >
> > 
> >
> Yes I am root..
> Output from alias rm..
> [root@dev02 i386]# alias rm
> alias rm='rm -i'
> 
> 
> I have rebooted the system so I doubt its an open file or a hung process..
> 
> 
> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list

I'm seeing a lot of good suggestion from others on this list.  Just for kicks
try un-aliasing rm
unalias rm
and then do the ls -i
find -inum XXXX -exec rm -rf {} \;

OR 

replace rm -rf with 
rmdir in the find command as someone else on the list suggested.



-- 
Gunnar vS Kramm
San Francisco, CA
(415)440-1732 <home>
(415)420-1860 <cell>


GPG public-key
--------------
http://www.gunnarkramm.com/keys/gkramm.gpg

Attachment: pgpb8D4Pel1PP.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux