Re: log reading while updating

2007-12-21 Thread Raquel
On Fri, 21 Dec 2007 11:11:42 +0100 roberto <[EMAIL PROTECTED]> wrote: > hello > a runnig program logs its output to a file and i'd like to read this > log file "while" it is being written and updated by the program, and > possibly searching in it for patterns and so on > > is it possible by "less

Re: log reading while updating

2007-12-21 Thread roberto
On 12/21/07, Jochen Schulz <[EMAIL PROTECTED]> wrote: > roberto: > > > > a runnig program logs its output to a file and i'd like to read this > > log file "while" it is being written and updated by the program, and > > > > possibly searching in it for patterns and so on > > When you want to search

Re: log reading while updating

2007-12-21 Thread Jochen Schulz
roberto: > > a runnig program logs its output to a file and i'd like to read this > log file "while" it is being written and updated by the program, and > > possibly searching in it for patterns and so on When you want to search for specific patterns, you can either $ tail -f /var/log/syslog | g

Re: log reading while updating

2007-12-21 Thread H.H. Ding
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 try tail -f xxx.log roberto 写道: > hello > a runnig program logs its output to a file and i'd like to read this > log file "while" it is being written and updated by the program, and > possibly searching in it for patterns and so on > > is it possible

Re: log reading while updating

2007-12-21 Thread Tom Rauchenwald
roberto <[EMAIL PROTECTED]> writes: > hello > a runnig program logs its output to a file and i'd like to read this > log file "while" it is being written and updated by the program, and > possibly searching in it for patterns and so on tail -f file > is it possible by "less" or other editors ?