Re: Restoring /etc/inittab

2004-05-13 Thread Pierg75
Pierg75 wrote: because if you get use of this approach, when you go to work on a machine that doesn't have this alias, immagine what you coul do if you write rm /etc/apache/* because you are sure (or you don't pay attention) that would ask you to confirm. Since i read that article (i

Re: Restoring /etc/inittab

2004-05-13 Thread Pierg75
Adam Funk wrote: On Wednesday 12 May 2004 17:40, Pierg75 wrote: Somewhere i read that an alias should never be an alias of itself, something like alias rm='rm -i' alias ls='ls --color=auto' alias rm='rm -vi' alias cp='cp -vi&#x

Re: Restoring /etc/inittab

2004-05-12 Thread Pierg75
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' Pier -- To