LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
[stats]
From: Michael WARDLE <michael.wardle@adacel.com>
To : Daryl Pilkington <u3232@home.dialix.com>
Date: Mon, 20 May 2002 10:31:44 +1000
Re: /etc/profile
Daryl Pilkington wrote:
> I've got to install DB2 v7.1 on RH7.2.
> Using the HowTo, I need to add the following lines to /etc/profile:
>
> export PATH=$PATH:/opt/IBMJava2-131/jre/bin
>
>
> Looking at my /etc/profile, it has conditional statements, so
exactly
> where do I add the above line?
[...]
> if ! echo $PATH | /bin/grep -q "/usr/X11R6/bin" ; then
> PATH="$PATH:/usr/X11R6/bin"
> fi
Copy these lines and change the relevant portions.
It also seems that it's moving towards each program having its own
file in /etc/profile.d, so you might like to create a db2.sh file and
modify the PATH there.
--
MICHAEL WARDLE
SGI Desktop & Admin Software
Adacel Technologies Limited
--
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
[stats]
Return to the LinuxSA Mailing List Information Page