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"
精彩评论