Linux for循环执行命令注意事项

时间:2014-07-10 22:30:56   收藏:0   阅读:387

如果for循环命令中带有一些符号,需要用()括起来。


for i in {1..4}; do (python /data/UGCRobot/manage/Scheduler.py 1.log > /dev/null 2>&1 &); done

Linux for循环执行命令注意事项,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!