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: daybrown <daybrown AT hypertech.net>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] Re: helpful alias - Not
  • Date: Mon, 27 Oct 2003 03:50:26 -0600

qwms-avib AT dea.spamcon.org wrote:

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

Kewl. Would it not, however, be possible to have BL write a batch program
that would offer to delete the designated files/directories the next time that OS
is booted?

And btw, is there a tool that will convert curses to batch or vs versus?





Archive powered by MHonArc 2.6.24.

Top of Page