[NTLUG:Discuss] Scripting help

Christopher Cox cjcox at acm.org
Thu Oct 9 21:13:04 CDT 2014


On 09/24/2014 10:24 PM, Leroy Tennison wrote:
> I'm trying to get telnet to repetitively connect to a newline-delimited list of
> devices.  In other words, if I have device1, device2 and device3 then what I
> want is:
> 
> telnet device1
> telnet device2
> telnet device3
> 

xargs -n1 telnet <<HERE
device1
device2
device3
...
deviceN
HERE






More information about the Discuss mailing list