开发者

keep running process/refresh in bash

I want to keep an eye on the output of a particular command, say ps aux | grep guest.

I'm waiting for it to change. Is there any way I could do something like the tail command开发者_如何学编程 does to a file?

Max


You're looking for:

watch "ps aux | grep guest"
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜