shell 之 for 循环
来源:互联网 发布:淘宝店铺复制免费 编辑:程序博客网 时间:2024/05/14 12:39
for i in `seq 10`
do
iwpriv ra0 get_mac_table |grep "a7" >> singdate
sleep 1s
echo "count = $i"
done
do
iwpriv ra0 get_mac_table |grep "a7" >> singdate
sleep 1s
echo "count = $i"
done
如果是用这个 (( 写法的,openwrt 会报出错 , 估计是因为 ash 不支持这样的写法
for (( i = 0 ; i < 20 ; i++ ))
do
iwpriv ra0 get_mac_table |grep "a7" >> singdate
sleep 1s
done
0 0
- shell之for循环
- shell 之 for 循环
- shell 脚本之 for 循环
- shell 之for循环和if
- linux shell 脚本 之for 循环
- shell之循环 (for、while、until)
- shell 脚本之for while until循环
- Linux shell编程之for循环
- linux 下shell编程之for循环
- Linux Shell系列教程之(十)Shell for循环
- Linux Shell系列教程(十三)之Shell for循环
- shell循环1.for循环
- Shell For 循环
- shell for循环
- shell for循环语句
- shell for 循环
- shell脚本----for循环
- shell中的for循环
- 随便取十个数1
- 【推荐】可查找下载和上传动漫外挂字幕网站
- MaterialDesign之NavigationView和DrawerLayout实现侧滑菜单栏
- LeetCode *** 58. Length of Last Word
- LeetCode 25 reverse-nodes-in-k-group
- shell 之 for 循环
- iOS Md5编码
- Android 修改adb端口
- HDOJ-1695 GCD
- filter 转换字符编码
- Purelayout小结1
- c++类模板遇上static关键字
- PHP序列化与反序列化的使用
- pycharm快捷键及一些常用设置