[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [OT] SSH login script - Help



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]