摘要: #!/bin/bash linenumber=$(cat remoteIP.cfg |wc -l) currentline=0 for ip in $(cat remoteIP.cfg) do currentline=$[$currentline+1] echo "linenumber:$currentline value:$ip" done 阅读全文
posted @ 2019-03-27 11:49 夜歌乘年少 阅读(766) 评论(1) 推荐(0) 编辑