linux shell scripting sleep的相關文章
linux shell scripting sleep的相關商品
![Unix / Linux Bourne / Bash Shell Scripting Tutorial [ steve-parker.org ]](https://www.iarticlesnet.com/pub/img/site/s_31.jpeg)
Unix / Linux Bourne / Bash Shell Scripting Tutorial [ steve-parker.org ]
瀏覽:1160
日期:2025-04-28
telnet2.sh #!/bin/sh # telnet2.sh | telnet > FILE1 host=127.0.0.1 port=23 login=steve passwd=hellothere cmd="ls /tmp" timeout=3 file=file1 prompt="$" echo open ${host} ${port} sleep 1 tout=${timeout} while [ "${tout}" -ge 0 ] do if tail -1 "${file}" 2>/de...看更多