shell
摘要: #!/bin/bash for i in $(cat ./host.txt) do echo $i > ./tmp.txt HOSTNAME=$(cut -d ':' -f1 ./tmp.txt) IP=$(cut -d ':' -f2 ./tmp.txt) PASS=$(cut -d ':' -f3 ./tmp.txt) /usr/bin/expect ./tmp.txt h... 阅读全文
posted @ 2017-03-13 16:06 devops运维 阅读(294) 评论(0) 推荐(0)
python