From: Mark Hansel <hansel@hansel.moorhead.msus.edu>
To: axp-list@redhat.com
Subject: Re: non-interactive deletes
Date: Sat, 5 Dec 1998 19:29:35 -0600 (CST) [thread overview]
Message-ID: <Pine.LNX.3.96.981205192132.16923A-100000@hansel.moorhead.msus.edu> (raw)
In-Reply-To: <Pine.GSO.3.96.981205174310.10342A-100000@general2.asu.edu>
When I got my first RH linux, after years of other versions, I had an
annoying runin with what I thought was a problem. I chased it down found
the alias.
After thinking about it (2 seconds) I recognized the value of the -i for
routine actions. Root has TOO much power to freely be rm-ing casually and
if root shoots herself in the foot, well, too bad.
As root, to get around the alias, In either use the
'rm -rf offending-directory' or, give the path to rm
/bin/rm -<options> <files/directories>. Either works and is worth the
effort.
After my confrontation with the RH alias, I created a "saferm" alias for
ordinary users and recommend its use.
On Sat, 5 Dec 1998 Kevin.Brown@asu.edu wrote:
> > I am running Redhat 5.2 on an older Alpha EB64P motherboard. For some
> > reason the 'rm' command seems t be built with the interactive '-i' switch
> > turned on. In general I have found this an annoyance. But when a whole
> > directory tree needs to be deleted, it is a real pain in the lower rectal
> > region. Am I overlooking something simple here ???
> >
> > Does anyone have a suitable 'rm' executable that doesn't pester you when
> > told to delete something ???
>
> I run RH5.0 and it only does that when I am logged in as root. If I am any
> other user, rm just removes, no questions asked. So it may be in the profile
> for root.
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
Mark Hansel (218-236-2039)
hansel@mhd1.moorhead.msus.edu
next prev parent reply other threads:[~1998-12-06 1:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-12-06 0:18 non-interactive deletes Bob Segrest
1998-12-06 0:21 ` Bibek Sahu
1998-12-06 21:54 ` Will Zimmerman
1998-12-07 0:42 ` Todd Cohen
1998-12-06 0:44 ` Kevin.Brown
1998-12-06 1:29 ` Mark Hansel [this message]
1998-12-06 1:54 ` Larry Snyder
1998-12-06 7:11 ` Michael Steele
-- strict thread matches above, loose matches on Subject: below --
1998-12-06 1:42 Jeff DeMaagd
[not found] <5518FE2C95E6D111B1A500104B72113B01D238EC@alfexc8.alf.dec.c om>
1998-12-06 20:04 ` Maurice Hilarius
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox