是否有可能在linux命令行中每n秒重复一次命令.
ls -l
解决方法:
每5秒观看一次……
看-n 5 ls -l
如果您希望直观地确认更改,请在ls命令之前附加–differences.
根据OSX手册页,还有
The –cumulative option makes highlighting “sticky”, presenting a
running display of all positions that have ever changed. The -t
or –no-title option turns off the header showing the interval,
command, and current time at the top of the display, as well as the
following blank line.
Linux / Unix手册页可以找到here
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。