The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
How to pass a parameter from one Shell-script to 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
:
How to pass a parameter from one Shell-script to another Shell-script
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
09-22-2007
manas_ranjan
Registered User
Join Date: Jul 2007
Location: Amsterdam
Posts: 177
try out the following one , as mentioned by ghostdog,
content of SecondScript.sh
var1=$1
and content of FirstScript.sh ,
./SecondScript.sh "parameter"
manas_ranjan
View Public Profile
Find all posts by manas_ranjan
Find manas_ranjan's past nominations received
Find manas_ranjan's present nominations given