3 Jan
2006
3 Jan
'06
15:36
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 -- aschwin@marsman.org http://www.marsman.org