linux shell 定时1s,循环语句
linux shell
循环语句:
i=0
while(true)
do
date
ip neigh
let i++
if [ $i -eq 10000 ]; then
break;
fi
sleep 1
done
linux shell
循环语句:
i=0
while(true)
do
date
ip neigh
let i++
if [ $i -eq 10000 ]; then
break;
fi
sleep 1
done