[OT] SSH login script - Help

Patrick O'Callaghan pocallaghan at gmail.com
Fri Apr 24 14:37:26 UTC 2009


On 04/24/2009 04:42 AM, Dan Track wrote:
> Hi Guys,
>
> I've written a simple for loop see below:
>
> for i in orion earth;do scp /etc/hosts /etc;done

Have you noticed that your loop body (do ...; done) contains no 
reference to the loop variable $i?

poc




More information about the users mailing list