Re: OT: the rm bug hit me again
- From: Nigel Wade <nmw@xxxxxxxxxxxx>
- Date: Fri, 27 Oct 2006 14:41:58 +0100
Mike McCarty wrote:
Arthur Pemberton wrote:On 10/25/06, Robin Laing <Robin.Laing@xxxxxxxxxxxxxxx> wrote:
Graphical file manager? That isn't the *nix way of doing things. :)
And the -f in the rm command it to stop the "Confirm delete?" questions.
My rm is set to confirm all deletes using alias.
--
How exactly did you do this? I got bit by this bug once in my Linux
life, would prefer it never happens again.
alias rm='rm -i'
That's not a good idea as it teaches you to expect to be prompted, and you'll be bitten badly some time when the alias isn't present.
Better to alias it to some command which doesn't exist, like del, and train yourself to use del. If the alias isn't present all you get is 'del: command not found' rather than a depleted filesystem.
--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@xxxxxxxxxxxx
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- Follow-Ups:
- Re: OT: the rm bug hit me again
- From: Jeff Vian
- Re: OT: the rm bug hit me again
- From: Robin Laing
- Re: OT: the rm bug hit me again
- From: Tim
- Re: OT: the rm bug hit me again
- References:
- OT: the rm bug hit me again
- From: Joe Klemmer
- Re: OT: the rm bug hit me again
- From: Cameron Simpson
- Re: OT: the rm bug hit me again
- From: Charles Curley
- Re: OT: the rm bug hit me again
- From: Kevin Kofler
- Re: OT: the rm bug hit me again
- From: Robin Laing
- Re: OT: the rm bug hit me again
- From: Arthur Pemberton
- Re: OT: the rm bug hit me again
- From: Mike McCarty
- OT: the rm bug hit me again
- Prev by Date: Re: FC6 KDE - some small wrinkles?
- Next by Date: Re: messagebus, haldaemon fail at boot with vanilla 2.6.18.1 kernel on FC6
- Previous by thread: Re: OT: the rm bug hit me again
- Next by thread: Re: OT: the rm bug hit me again
- Index(es):
Relevant Pages
|
Loading