The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Renaming putty windows with a shell script orno Shell Programming and Scripting 4 11-25-2008 11:09 AM
How to input EOF from Windows connected to Unix maxhine via SSH sayeo UNIX for Dummies Questions & Answers 2 11-24-2007 02:13 AM
How to take printout of linux file from windows xp using putty? sathyguy Red Hat 3 02-21-2007 02:21 AM
PuTTY 0.59 pressy News, Links, Events and Announcements 2 01-30-2007 09:09 AM
SSH with Putty AJA SUN Solaris 3 03-01-2004 03:45 PM

Closed Thread
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
  #1 (permalink)  
Old 04-10-2008
JACKDSOUZA JACKDSOUZA is offline
Registered User
  
 

Join Date: Apr 2008
Location: singapore
Posts: 2
Question Putty Input thru Windows

Hi
anyone knows how to pass values to putty command prompt from MS windows.

since i am have a shell script to get input of several lines. i dont want to type it rather than input values from some windows based application

is there any way

thanks in advance.
  #2 (permalink)  
Old 04-10-2008
tonan tonan is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 11
unalbe to get your question completely

but if you want to pass values to your shell script instead of typing them everytime.

User arguments while running your shell script.

Create a file at your home dir with the lines, now use a for loop to pass on the values or better you can use expect.

************************
for i in `cat file_with_values`
do

./shell_script.sh $i

done

************************

http://floppsie.comp.glam.ac.uk/Glam...ripting/5.html
  #3 (permalink)  
Old 04-10-2008
anchal_khare anchal_khare is offline
Registered User
  
 

Join Date: Jun 2007
Location: Mumbai,India
Posts: 325
are u sure about passing values..... or u are talking about pasting... ??
Closed Thread

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 04:42 AM.


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