Kill proccess after some time
Posted
by yael
on Super User
See other posts from Super User
or by yael
Published on 2010-06-17T15:24:57Z
Indexed on
2010/06/17
15:33 UTC
Read the original article
Hit count: 546
linux
I want to limit the time of grep process command
For example
If I perform:
grep -qsRw -m1 "parameter" /var
before running grep command I want to limit the grep process to alive not longer then 30 seconds
how to do this?
and if it can be how to return the no limit time again
Yael
© Super User or respective owner