keep track of a text file

N.J. Mann njm at njm.f2s.com
Sun Sep 30 10:33:45 PDT 2007


In message <2b98f2f70709300956w5bf6b0das679279446d1962b0 at mail.gmail.com>, Jeff Laine wrote:
> 
> Just wonder about one catch: is it possible to keep track of any text file's
> contents in a real time?
> For example, I open ttyv1 and via some magic command :) I get my file's
> contents updating in real time if any modifications occured.
> 
> Any advices will be very much appreciated.

tail -f <filename>

man tail(1) for details


Cheers,
       Nick.
-- 



More information about the freebsd-questions mailing list