Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Wait for some text in a log file
{ tail -n +1 -f file.log & } | sed -n '/Initialization finished/q'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment