From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 4717 invoked from network); 6 Dec 1998 01:37:50 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 6 Dec 1998 01:37:50 -0000 Received: from hansel.moorhead.msus.edu (hansel@hansel.moorhead.msus.edu [199.17.103.152]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id UAA07677 for ; Sat, 5 Dec 1998 20:33:13 -0500 Received: from localhost (hansel@localhost) by hansel.moorhead.msus.edu (8.8.6/8.8.6) with SMTP id TAA16929 for ; Sat, 5 Dec 1998 19:29:36 -0600 Date: Sat, 5 Dec 1998 19:29:35 -0600 (CST) From: Mark Hansel To: axp-list@redhat.com Subject: Re: non-interactive deletes In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 - . 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