automatic execution upon logging in [message #232305] |
Fri, 20 April 2007 01:40 |
beetel
Messages: 96 Registered: April 2007
|
Member |
|
|
The following have to be executed before running an ant build on our servers. It loads the library path:
LD_LIBRARY_PATH=/usr/local/lib
export LD_LIBRARY_PATH
How do I set this automatically such that it gets executed each time we open up a new putty session?
I tried to put this in the .profile file but it still does not work. We're using Solaris.
|
|
|
|
|
|
|
|
|
Re: automatic execution upon logging in [message #232736 is a reply to message #232333] |
Mon, 23 April 2007 02:36 |
ThomasG
Messages: 3212 Registered: April 2005 Location: Heilbronn, Germany
|
Senior Member |
|
|
Hi,
to find out which shell you are in you could use a "who am i" and "finger" :
# who am i
root pts/1 Apr 23 09:31 ([hostname])
# finger root
Login name: root
Directory: / Shell: /usr/bin/ksh
On since Apr 23 09:31:49 on pts/1
from [hostname]
No Plan.
#
|
|
|