OpenSolaris Solaris Forum  
     

Left Nav FAQ Members List Default Password Members List Linux Commands Search Today's Posts Mark Forums Read Right Nav

Left Container Right Container
 

Go Back   OpenSolaris Solaris Forum OpenSolaris Security

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-01-2009, 06:54 PM
Unregistered
Guest
 
Posts: n/a
Default Set PATH permanently in Solaris

I know I can add a directory to PATH variable by exporting PATH =$PATH:/new-dir/
but if my solaris gets restarted then I have to again set the path
Please how can I set the path permanently so it does no disappear after rebooting

Thanks
Reply With Quote
Sponsored Links

  #2 (permalink)  
Old 05-01-2009, 07:00 PM
Administrator
 
Join Date: May 2008
Location: http://www.google.com
Posts: 50
Default PATH in Solaris

You need to edit the /etc/profile file and add the desired directory to the already existing one's
this will permanently add that directory to the PATH
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:55 AM.


Powered by vBulletin. Copyright 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.