Re: problem with execution on .profile
From: Arbab f Ahmed (Arbabf_at_bigpond.com)
Date: Tue, 06 Apr 2004 08:27:26 GMT
"Andreas Schulze" <firstname.lastname@example.org> wrote in message
> "Abhijeet" <email@example.com> schrieb im Newsbeitrag
> > Hi group,
> > I am having AIX & Solaris m/c. My default shell is ksh. As per as i
> > understand .profile shud execute everytime i open terminal using
> > dtterm(winterm). But its not happening in case of these two m/cs. I
> > have been executing it explicitly after opening terminal.
> > But .profile gets executed when i telnet(rsh) on these m/cs.
> > Can somebody enlighten me the reason behind this?
> > Some references or advise on good admin book are welcome.
> > thanks in advance
> > abhijeet
> Hallo abhijeet,
> not sure about the Solaris thing but to use X-apps with AIX you need to
> a .dtprofile with an activated
> line (e.g. remove the # to uncomment). This will load your .profile. Mind
> that AIX ksh expects aliases and functions in a separate .kshrc which
> is activated by the ENV variable from the .profile.
> export ENV=~/.kshrc