The name of the file is '.bash_profile' in Linux 'bash' shell. It is located in the home directory of the user account.
HTH,
dlangschied wrote:
I think you are misunderstanding me. I have a number of environment variables that I want to pass onto the user at login. I should be able to do so by modifying a file (like .profile) that is launched when the user logs in. I tried to vi /bin/bash and it was not possible. THerefore, I am trying to find out where this is done. I am sure that others are doing this.
Sincerely,
David Langschied Langschied Consulting Services 25644 Mackinac Roseville, MI 48066
Phone: (586)777-7542
Cell: (248)789-8493
e-mail: [EMAIL PROTECTED]
----- Original Message ----- From: "Karim Nowruzi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 31, 2003 12:56 AM
Subject: Re: Creating User environment variables.
On Sat, 2003-05-31 at 20:32, dlangschied wrote:
Hi! I am use to the HP-UX world where you can create a user specific
environemtn
by modifying the .profile. How do you do the same in Linux?
Sincerely,
David Langschied Langschied Consulting Services 25644 Mackinac Roseville, MI 48066
Phone: (586)777-7542 Cell: (248)789-8493 e-mail: [EMAIL PROTECTED]
--
use export for short like this: export VIRIABLENAME=VARIABLVALUE
to see if you have defined it use $ like this echo $VARIABLENAME
-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
-- Panos Platon Tsapralis, SAP-R/3 specialist, ABAP/4 developer, registered Linux user #305894, Mozilla (Rel.1.3) on RedHat Linux (Rel.8.0), Athens, GREECE, cell-phone No. +306946462857, [EMAIL PROTECTED], [EMAIL PROTECTED]
-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list