[Cialug] Unable to remove a directory in RedHat7

Adam Hill adam at diginc.us
Thu Aug 21 17:35:44 CDT 2014


Is there an alias for rm that conflicts with -f in your rc file maybe?

Based off that error I'd guess there hidden dot files.  Try `ls -a dir/`



On Thu, Aug 21, 2014 at 5:26 PM, chris rheinherren <c.rheinherren at gmail.com>
wrote:

> Should be able to do that as root.
>
>
> On Thu, Aug 21, 2014 at 4:29 PM, Tom Sellers <tomsellers2001 at yahoo.com>
> wrote:
>
> > I have been trying to clean up my old linux box that I used as a server
> > and make sure I did not leave anything on there important.  In the
> process
> > of doing so I have run into a directory that I can't delete.  It says it
> is
> > not empty but I am unable to see any files in that directory when I am
> > logged on as the root user.
> >
> > Is there a way to remove the directory regardless of whether there are
> any
> > hidden files in it?
> >
> > I tried a command I found on line rm -rf filename but that does not work.
> >  Just tells me directory is not empty.
> >
> > Suggestions?
> > _______________________________________________
> > Cialug mailing list
> > Cialug at cialug.org
> > http://cialug.org/mailman/listinfo/cialug
> >
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>


More information about the Cialug mailing list