Tail -f - Show last X lines that match a pattern grep PATTERN FILE | tail -n10; tail -f -n0 FILE | grep PATTERN;