[CentOS] Where is the file that sets aliases?

MHR mhullrich at gmail.com
Sat Nov 8 19:00:12 UTC 2008


On Sat, Nov 8, 2008 at 10:57 AM, Anne Wilson <cannewilson at googlemail.com> 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.

mhr



More information about the CentOS mailing list