DAve wrote: > > I would love to have a way to tail a log, like piping to grep, except I > see every line and the lines I would normally grep for are highlighted. > That would be cool. Anyone know of a bash command or tool that will do > this? > > Side note, I am tailing sendmail after changes to my outbound queue > runners. I want to highlight my sm-mta-out lines but still see all lines.
less <logfile> /string you care about, regex works F If you do a search a file in less and then start tailing the file inside less, it continues to highlight all matches for your last search. While I'm sure there are other ways of achieving this, this is the one I use on a regular basis. --Jon Radel
smime.p7s
Description: S/MIME Cryptographic Signature