[PLUG] Using less on a growing file

Tim Wescott tim at wescottdesign.com
Thu Sep 25 21:37:34 UTC 2014


I need to be able to navigate around the whole file, not just look at
the end.  Bill's answer sounds like my solution.

On Thu, 2014-09-25 at 14:18 -0700, Ronald Bynoe wrote:
> Why not just tail -f myfile.txt? 
> 
> On Sep 25, 2014 2:17 PM, "Tim Wescott" <tim at wescottdesign.com> wrote:
>         Is there a way to use less, or a less-like viewer, to view a
>         growing
>         file such that as the file grows, paging down will get me more
>         and more
>         content?
>         
>         As far as I can tell, just running 'less myfile.txt', when
>         myfile.txt is
>         being written to by another app, seems to just take a snapshot
>         of
>         myfile.txt -- I want to be able to look at the full extent of
>         the file
>         AS IT GROWS, to monitor ongoing long computations to see how
>         they're
>         doing.
>         
>         If you're tempted to just answer with "you don't want to do
>         that" -- no,
>         I do indeed want to do that, and I have good reason.
>         
>         --
>         
>         Tim Wescott
>         www.wescottdesign.com
>         Control & Communications systems, circuit & software design.
>         Phone: 503.631.7815
>         Cell:  503.349.8432
>         
>         _______________________________________________
>         PLUG mailing list
>         PLUG at lists.pdxlinux.org
>         http://lists.pdxlinux.org/mailman/listinfo/plug

-- 

Tim Wescott
www.wescottdesign.com
Control & Communications systems, circuit & software design.
Phone: 503.631.7815
Cell:  503.349.8432




More information about the PLUG mailing list