> 
> > > > cat testfile > /dev/cwkeyer 
> > > > 
> > > 
> > > But it works, right?!
> > 
> > Yes but its not correct and another thing is redhat places an aliases in
> > roots .bash_profile so what one see is;
> > 
> > cp testfile /dev/cwkeyer
> > cp: overwrite /dev/cwkeyer'?
> > 
> > WOW, some folks will have a hart attack when they see that.
> 
> As I have worked on different UNIXes I have never noticed such behaviour.
> Therefore, I would say that it is the redhat problem that alias is not
> well defined - not checking for special files -  and not mine.
> But hey, I will edit README and redhat users will be satisfied as we
> the Debian users are. :-))

No not a problem with redhat at all, its a perfectly sensable alias to
advise root that he "could" overwrite or delete files.

I said /root/.bash_profile, i must correct myself as it is /root/.bashrc and
the defintions are;

# User specific aliases and functions

alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'

At least it does warn 'root' that he is about to trash his system in the
most extreme case.

As you said yourself you have worked on other unix* systems, then you must
have learnt that "cat" is more appropriate, but please this is just a fine
point all i am doing is telling you what you will hear from other Redhat
users. Of course if one uses the program properly as a user, then there is
no problem.

Just put it down to me splitting hairs.

> 
> Regards, Ivo.
> 


-- 
Regards Richard.
[EMAIL PROTECTED]

Reply via email to