"Scott K. Ellis" <[EMAIL PROTECTED]> writes: > > I was wondering if there was a commonly used method for doing the > > same thing, but filtering it at the same time. > > Umm, you had the right idea when using tail -f. Try > > tail -f <file> | grep <pattern>
For some dumb reason, I didn't think I could do a pipe out of "tail -f". Boy, do I feel stupid. :-) Now I notice that "cut" seems to buffer everything up. $ tail -f /opt/linuxhq/livesite/var/log/access.log | grep -v "gif" | cut -c1-175 Is there another way around that? Cheers, - Jim
pgp8Wj1dIIKbn.pgp
Description: PGP signature