passing variables from on script to another
- From: "Derk" <derrick.king@xxxxxxxxxxxxxxx>
- Date: Wed, 15 Mar 2006 16:14:13 -0000
How do I pass variables from one scrip to another.
I dont want to call the second script from the first with the variables on
the 'command l
I really want to set an environment variable in script1 and pick it up in
script2, but I can't get it to work
script1=
-----------------------------------------------
dk=derrick
echo $dk
script2
-----------------------------------------------
script2 =
-----------------------------------------------
echo $dk
script 1 echos derrick, but script 2 does not??
thanks
derrick
.
- Follow-Ups:
- Re: passing variables from on script to another
- From: aasim . ajaz
- Re: passing variables from on script to another
- From: Michael Paoli
- Re: passing variables from on script to another
- From: James Carlson
- Re: passing variables from on script to another
- Prev by Date: Re: Re-Direct To Null In A CronTab?
- Next by Date: Re: passing variables from on script to another
- Previous by thread: Sr Unix Admins Positions - Noida / Chennai - HCL Group - India
- Next by thread: Re: passing variables from on script to another
- Index(es):
Relevant Pages
|
|