On Tue, 3 Jan 2006, Reinhard Gimbel wrote:

> That's why I use the "alias" feature of bash to set the "-i"-option for most
> of the "dangerous" commands dealing with file on CLI level ...
> 
> alias cp='cp -pi'
> alias mv='mv -i'
> alias rm='rm -i'

And when you know what you are doing you put a backslash
before the command so the alias is not used.

Kind regards,

Aschwin Marsman

-- 
[EMAIL PROTECTED]              http://www.marsman.org

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to