3
5
I'd like to tail a log file that's continuously being written to but would like to exclude various entries that are 'common' so I only see errors, etc. as they are thrown. I can pipe to grep -v "pattern" but would ideally like to use a file containing entries to skip. Any ideas?
Make that grep -v "
cat FILE_WITH_ENTRIES_TO_SKIP
", or the shell will expand special characters in the pattern list. – Gilles 'SO- stop being evil' – 2010-10-08T23:29:40.120You mean
grep -v "\
cat FILE_WITH_ENTIRES_TO_SKIP`"`? (You have to escape backtics in Markdown.) – Wuffers – 2010-10-08T23:33:35.873