The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
extract from a file based on values in another file Gussifinknottle Shell Programming and Scripting 1 01-11-2009 07:52 PM
update a file with values from other file in shell bash teodora Shell Programming and Scripting 1 07-03-2008 12:39 PM
passing values into logrotate?? imbiea Shell Programming and Scripting 1 06-09-2008 05:03 PM
scripting: multiple values from file passing to command LisaS UNIX for Dummies Questions & Answers 5 07-20-2007 02:34 PM
Passing values out awk. gio123bg Shell Programming and Scripting 3 12-09-2003 01:32 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 03-09-2009
coolkid coolkid is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 69
Passing values from one file to another file

Hi all
I need some help to pass the values from one shell script to another ,so that the other script uses those values

For Ex:
File1.sh
echo "Enter user[admin]:"
read answer
echo "Enter password for [$answer]:"
stty -echo
read passwd
stty echo

File2.sh
This file should use those values that are stored in $answer and $passwd.Is that possible.

Please let me know

Thanks
CK
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:46 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0