Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to set path permanently ?

Status
Not open for further replies.

alanchia

Technical User
Jan 8, 2003
42
0
0
SG
Hi all,

how do i set path permanently ? i am using bourne shell.

thanks
 
Hello Alanchia

I just added the answer to your question to the Sun:Solaris FAQ where you can read it.
However, as it take one day to be approved,
here is it for you:
at system level you have the file
/etc/profile
where you can put a PATH definition for everybody. Then every user should have a
$HOME/.profile file in which he/she can
modify the general PATH definition.
Example of $HOME/.profile (partially, only related to PATH):
OPENWINHOME=/usr/openwin ; export OPENWINHOME
PATH=$OPENWINHOME/bin:$OPENWINHOME/bin/xview:$OPENWINHOME/demo:$PATH:/usr/bin/X11
export PATH


Ciao Ray
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top