Re: Where is the file that sets aliases?

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



On Saturday 08 November 2008 19:00:12 MHR wrote:
> On Sat, Nov 8, 2008 at 10:57 AM, Anne Wilson <cannewilson@xxxxxxxxxxxxxx> 
wrote:
> > I was having a problem in a shell script that turned out to be cp being
> > aliased to 'cp -i'.  Not a showstopper, once you realise it, but it did
> > beg the question as to where this file is.  I was told to look in
> > /etc/profile.d, but that doesn't seem to be the case on my CentOS box.  I
> > can list aliases, so I know the file exists, but where?
>
> Try /etc/profile.
>
That doesn't appear to define cp, l, ll, ls, mv, rm or which, all of which are 
listed by the command 'alias'.

Anne

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux