The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 03-08-2007
ahmedwaseem2000 ahmedwaseem2000 is offline
Registered User
 

Join Date: Aug 2005
Location: Bangalore
Posts: 206
. is used run the script in the same process. export works when you use the . before the script. here is an example:

Code:
$$ cat try
. ./test
echo $TEST
$$ cat test
export TEST=1
$$ ./try
1
Reply With Quote