On Saturday 08 November 2008 19:00:12 MHR wrote:
On Sat, Nov 8, 2008 at 10:57 AM, Anne Wilson cannewilson@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.
That doesn't appear to define cp, l, ll, ls, mv, rm or which, all of which are listed by the command 'alias'.
Anne