|
| From: | kqt4at5v |
| Subject: | [Help-bash] dumb person's looping |
| Date: | Wed, 7 Jan 2015 08:28:01 -0600 (CST) |
| User-agent: | Alpine 2.02 (DEB 1266 2009-07-14) |
Would y'all explain in simple terms what is going wrong here
while read l; do echo "checking ${l}"; ssh ${l} ls; done <list_of_servers
After the first server the loop terminates
Richard
| [Prev in Thread] | Current Thread | [Next in Thread] |