cannot remove* Is a directory

From: Gerald J T Harrison <linux_at_no.spam.please>
Date: Wed Sep 10 2003 - 00:55:02 CST

In a command shell (bash, sh, zsh etc etc)

the rm command in full force can wipe a system out.
using man is important..

man rm

The command will remove directories

rm -rF *

is recurse down the current directory tree and force remove any files
found without asking.

be very careful..

Gerald

On Wed, 10 Sep 2003, jim wagner wrote:

> Well, I made a test on a directory buiilt for the occasion, and had no
> trouble making the 'rm' command work. However, getting down to serious
> business, I had this little exchange:
>
> rm -v Tbird
> rm: remove directory `Tbird'? y
> rm: cannot remove directory `Tbird': Is a directory
>
> What am I being told here? The way I read it, it asks if I want to
> remove the directory Tbird. When I answere "yes", it tells me I can't
> remove it because it's a directory.
>
> On my successful attempt, which has unfortunately been wiped out, it
> asked if I wanted to descend into the directory. I said yes. It asked
> if I wanted to remove the file there, I said yes. It asked if I wanted
> to remove the directory. I said yes.
>
> So, what didn't I do?
>
> I'm using Mandrake 9.1
>
> Thanks
>
> Jim
>
> _______________________________________________
> Saskatoon Linux Group Mailing List.
> "Ein zuviel an Ordnung ruft in uns unweigerlich den Wunsch auf Totschlag hervor."
> For information about the list and subscription management, go here:
> http://slg.thock.com/mailman/listinfo/slg
>

-- 
Gerald J T Harrison
Received on Wed Sep 10 00:55:02 2003

This archive was generated by hypermail 2.1.8 : Mon Mar 06 2006 - 18:35:12 CST