Skip to content

Instantly share code, notes, and snippets.

@johnmeehan
Created November 20, 2014 22:29
Show Gist options
  • Save johnmeehan/adb79cd0921bf5a79437 to your computer and use it in GitHub Desktop.
Save johnmeehan/adb79cd0921bf5a79437 to your computer and use it in GitHub Desktop.
Tail a file and grep for specific word/pattern
tail -f file.log | grep "foobar"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment