间隔10s查询jour进程,循环10次:
for i in seq 1 10
;do ps axu|grep jour; sleep 5 ;done
shell 一行写一个for循环
原创kaidi_yang ©著作权
文章标签 shell for循环 文章分类 运维
下一篇:python常用模块
-
shell脚本循环读出文件每一行
shell脚本循环读出文件每一行
linux shell脚本 bash -
python for循环写一行 python for循环写成一行
python for循环写一行 python for循环写成一行
python for循环写在一行 python 操作数 -
shell grep 去掉第一行 shell 去掉文件第一行
课程目标 1.熟悉Linux命令 2.可以使用shell脚本自动化部署测试环境 shell介绍  
shell grep 去掉第一行 shell 变量名 文件名 shell脚本