Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

keep running process/refresh in bash

Tags:

bash

process

tail

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

like image 424
tekknolagi Avatar asked Oct 11 '11 06:10

tekknolagi


1 Answers

You're looking for:

watch "ps aux | grep guest"
like image 117
jpjacobs Avatar answered Sep 20 '22 18:09

jpjacobs