批量telnet端口通不通
每读一行就运行一次telnet IP port
1 2 3 4 5 6 7 | #!/bin/bash port= "22" cat *.txt | while read line do telnet ${line} ${port} echo "--------------------" done |
执行后
每读一行就运行一次telnet IP port
1 2 3 4 5 6 7 | #!/bin/bash port= "22" cat *.txt | while read line do telnet ${line} ${port} echo "--------------------" done |
执行后
阅读目录(Content)
此页目录为空