shell loop

#!/bin/sh

date

i=0 while [ $i -le 30 ] do         echi $i

        /usr/sbin/r2/np_test_acl -f rule.txt

        i=$(expr $i + 1) done

date

原文地址:https://www.cnblogs.com/yizhinantian/p/3701753.html