SyntaxFix
Write A Post
Hire A Developer
Questions
Following is working for me... put all of your IPs you want to telnet in IP_sheet.txt
while true read a do { sleep 3 echo df -kh sleep 3 echo exit } | telnet $a done<IP_sheet.txt