[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Restoring /etc/inittab



On Wed, May 12, 2004 at 06:32:54PM +0200, Pierg75 wrote:
> Monique Y. Mudama wrote:
> >Um, no, you haven't.  If rm is aliased to 'rm -i' in root's environment,
> >it should have prompted.  Unless he neglected to mention that he
> >actually did 'rm -rf' ...
> 
> Somewhere i read that an alias should never be an alias of itself,
> something like alias rm='rm -i'

Whatever you read was wrong; a word is not expanded as an alias if it is
identical to an alias currently being expanded.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: