Actually, it hasn't. This is all controlled by whatever shell you run. If you do a "man bash" and read through it (God help you), it will explain when which files get executed. It varies depending on whether the shell is being invoked as a "login shell," or an "interactive shell," or other varieties. It's fairly complex and I'm not at all surprised that some ISV's documentation as to what to do is rather simplistic (and only partly correct).
Mark Post -----Original Message----- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Tom Duerbusch Sent: Tuesday, November 15, 2005 12:00 PM To: [email protected] Subject: Re: Which profile file is read on z/Linux? I get confused with this all the time. It seems to be shifting.... I currently run SUES7, SUSE8, SUSE9 31 bit and SUSE9 64 bit. On SUSE9 64 bit, /etc/profile.local should be used for any "global" changes that will apply to all users. A separate .bash_profile is used for each user. I finally got in the habbit of any time I make changes or create a 'profile', I put in an "echo .bash_profile" in it, just to make sure I am, indeed, executing it. I've seen Oracle manuals that said to do an "echo $SHELL", and when it came back as "bash", add lines to your ".profile" file. I tried the ".profile" and it doesn't get executed. So, it seems to me that something has been changing. ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
