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
Thanks - problem is there are previous instances of "started" within the log - that's why I was hoping someone might have come across this before - and have some kind of check / sleep / loop until found after present time.
Recent comments
22 hours 17 min ago
1 day 3 hours ago
1 day 4 hours ago
1 day 5 hours ago
1 day 7 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 14 hours ago
2 days 3 hours ago
2 days 5 hours ago