Bash

From Blue-IT.org Wiki

Revision as of 22:44, 1 January 2014 by Apos (talk | contribs) (Created page with "== grep and tail == tail -f -n 300 /var/log/syslog | stdbuf -o0 grep PATTERN * Source: http://stackoverflow.com/questions/7161821/how-to-grep-a-continuous-stream")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

grep and tail

tail -f -n 300 /var/log/syslog | stdbuf -o0 grep PATTERN