![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 |
| Loop Problem | namishtiwari | UNIX for Dummies Questions & Answers | 4 | 07-15-2008 11:01 AM |
| Loop Problem | namishtiwari | Shell Programming and Scripting | 5 | 07-15-2008 09:55 AM |
| for loop problem | namishtiwari | Shell Programming and Scripting | 5 | 01-25-2008 12:58 PM |
| Problem with while loop and SQL | nandajk | UNIX for Dummies Questions & Answers | 20 | 05-04-2007 06:19 AM |
| problem with while loop | mridula | High Level Programming | 1 | 12-11-2005 11:44 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
loop problem
Hello Guys,
i have a list on cpus.txt with a name servers, and i wanna execute in each server some ssh commands, but its breaking the loop.. Can you guys note anything weird? tks #!/usr/bin/sh cat cpus.txt | while read machine ; do scp deploy.sh u805583@$maquina:/tmp/deploy.sh ssh -l user $machine 'chmod 755 /tmp/deploy.sh' done |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|