linux watch 命令
文章目录
你可以拿他来监测你想要的一切命令的结果变化,比如tail一个 log 文件,ls监测某个文件的大小变化,看你的想象力了。
Linux下watch命令的不同 在Linux下,watch是周期性的执行下个程序,并全屏显示执行结果。 -d, --differences[=cumulative] 高亮显示变动 -n, --interval= 周期(秒) -t 或-no-title 会关闭watch命令在顶部的时间间隔 如:watch -n 1 -d netstat -ant

评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册⭐️ Admin快速开发: https://show.cool-admin.com/
赞 0⭐️ 官方文档: https://cool-js.com
赞 0⭐️ chatgpt在线体验: https://cool-js.com/ai/chat-vip/index.html?r=helloworld
赞 0