[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: log reading while updating



On Fri, 21 Dec 2007 11:11:42 +0100
roberto <roberto03@gmail.com> 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" or other editors ?
> 
> thank you very much
> -- 
> roberto

Yes, it can be done in "less".  Open the log file in less:
     less <logfile>
then:
     Shift-F

-- 
Raquel
============================================================
What is hateful you do not do to your neighbor: that is the whole
Torah. --Shammai


Reply to: