|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Why doesn't this work?
When I do this, only one iteration is run, it only performs the command on the first server in the list...
cat .servers | while read LINE; do ssh root@$LINE $1 done exit 1 $ ./command.ksh "ls -l ~root" What's wrong? Shouldn't it go through the whole list of servers? |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > Why doesn't this work? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|