Linux脚本(二)
摘要:1.for循环以及加法的使用portStr=`lsof -i:56801 | head -2`count=0for str in `lsof -i:56801 | head -2`do((count=count+1))echo "Count: $count"if [ $count == 11 ]; ...
阅读全文
posted @ 2014-08-25 17:46
posted @ 2014-08-25 17:46
posted @ 2014-08-25 09:06
posted @ 2014-08-08 23:07