Mar 10, 2009 #1 Yarka Technical User Jan 14, 2007 192 ES Hi, I need to look the IPs of some machines using korn shell. I try: serversips="server1 server2 server3" for i in `ssh aaa@$serversips` do netstat -i done but it doesn´t work.
Hi, I need to look the IPs of some machines using korn shell. I try: serversips="server1 server2 server3" for i in `ssh aaa@$serversips` do netstat -i done but it doesn´t work.
Mar 10, 2009 1 #2 MoreFeo Technical User Nov 29, 2002 547 ES Code: server_ips="server1 server2 server3" for i in $server_ips do ssh user@$i netstat -i done Upvote 0 Downvote