Just tried.... .bash_profile only (was executed) .bash_profile with .profile (.bash_profile executed) .profile only (was executed)
IMHO the only way to test Linux is under VM. Forget about PCs, just install, clone, flashcopy another machine. On my IFL, it takes about 22 minutes from the CMS Punch of the loader deck, to the time I'm adding users. (Of course it is only seconds with flashcopy) A PC takes too long<G>. Of course if you don't have access to the right hardware, a PC, at home, over the weekend, can give you the same results. But at least I now know why the Oracle documentation didn't seem to work. Learn something new, every month! Tom Duerbusch THD Consulting >>> [EMAIL PROTECTED] 11/16/05 9:34 AM >>> Date: Tue, 15 Nov 2005 11:00:26 -0600 From: Tom Duerbusch <[EMAIL PROTECTED]> Subject: Re: Which profile file is read on z/Linux? >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. >Tom Duerbusch >THD Consulting >From man bash: When bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first reads and executes commands from the file /etc/profile, if that file exists. After reading that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and is readable. If .profile was not executed, then you must have had one of the bash specific files in ~ already. Tom Russell "Stay calm. Be brave. Wait for the signs." -- Jasper FriendlyBear ---------------------------------------------------------------------- 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 ---------------------------------------------------------------------- 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
