![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
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. |
|
||||
|
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 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|