[CentOS] Where is the file that sets aliases?
cannewilson at googlemail.com
Sat Nov 8 19:43:12 UTC 2008
On Saturday 08 November 2008 19:00:12 MHR wrote:
> On Sat, Nov 8, 2008 at 10:57 AM, Anne Wilson <cannewilson at googlemail.com>
> > 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'.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.centos.org/pipermail/centos/attachments/20081108/8fa8b69f/attachment.bin
More information about the CentOS