Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Sep 2007 18:33:43 +0100
From:      "N.J. Mann" <njm@njm.f2s.com>
To:        Jeff Laine <wtf.jlaine@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: keep track of a text file
Message-ID:  <20070930173343.GA1611@oberon.njm.f2s.com>
In-Reply-To: <2b98f2f70709300956w5bf6b0das679279446d1962b0@mail.gmail.com>
References:  <2b98f2f70709300956w5bf6b0das679279446d1962b0@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <2b98f2f70709300956w5bf6b0das679279446d1962b0@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.
-- 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070930173343.GA1611>