View Single Post
Old 12th November 2011, 00:07
naffcat naffcat is offline
Junior Member
Join Date: Aug 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Question Start process & check log until start line found?


Can anyone help, I need to write a linux shell script which will either tail a log until a particular line appears (with for example "started") or perhaps have a script which has a loop - sleep - grepp check for line - then exit if found.

I imagine this kind of thing has been done before and there's probably more than one way to do it but would appreaciate any examples

Many thanks

Reply With Quote
Sponsored Links