The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Accessing variables of one shell script in another shell script
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Accessing variables of one shell script in another shell script
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
03-17-2009
ultimatix
Registered User
Join Date: Oct 2008
Location: Mumbai
Posts: 55
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
ultimatix
View Public Profile
Find all posts by ultimatix
Find ultimatix's past nominations received
Find ultimatix's present nominations given