shell 一行写一个for循环

间隔10s查询jour进程,循环10次:
for i in seq 1 10 ;do ps axu|grep jour; sleep 5 ;done

猜你喜欢

转载自blog.51cto.com/13203181/2428970