使用watch每一秒钟重复一次命令
Hujiuxiang
・1 分钟阅读
每秒钟重复一次命令
watch -n 1"do foo"
短方法 while x=0; do foo ; sleep 1 ; done "