Skip to Content.
Sympa Menu

baslinux - Re: [BL] Re: helpful alias - Not

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: qwms-avib AT dea.spamcon.org
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] Re: helpful alias - Not
  • Date: Tue, 28 Oct 2003 07:08:52 +1300

Erkki Ruohtula wrote:
>
> James Miller wrote:
> > -----------------
> > alias rm='rm -i'
> > -----------------
>
> As a long-time Unix and Linux user I must object.
> This commonly seen "helpful" redefinition of "rm" is one of
> those things in life that initially looks like a good idea,
> but in reality creates worse problems than it solves.
>
> Creating a safer file deletion command is fine, but under
> no circumstances call it "rm". Instead give it a different
> name, like "del" or "erase".

BL2 has several of those by default:
--------------------
alias del='rm -i'
alias dir='ls -al'
alias edit='pico -w'
alias copy='cp'
alias ren='mv'
--------------------
If you want different defaults, edit ~/.profile

Cheers,
Steven






Archive powered by MHonArc 2.6.24.

Top of Page