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 the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 03-17-2009
ultimatix ultimatix is offline
Registered User
  
 

Join Date: Oct 2008
Location: Mumbai
Posts: 55
Smile

export the variable u want to use

eg export var1

If value of var1 is set in 1.sh u can use the value of var1 in 2.sh