Thread: How to Set
View Single Post

  #2 (permalink)  
Old 06-02-2007, 02:07 AM
Rahulbatra Rahulbatra is offline
Senior Member
 
Join Date: Apr 2006
Posts: 145
Rahulbatra is on a distinguished road
To set environment variables for your current shell script mentioned above as sample.sh you need to give the command as dot followed by space and sample.sh which will export all environment variables in current shell. The syntax is as below:
. sample.sh
Reply With Quote