This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Collin Daly wrote:
> Anne,
>
> Which file is it that I want to 'tail' to view my hourly yymmddhh.stats in
> the ldm/logs directory?
>
> Thanks,
> Collin
>
>
Collin,
I presume you want to view the most recent .stats file. In your logs directory
you could do:
ls -1 -t *.stats | head -1 | xargs cat
which will input to the 'cat' command the most recent file ending in '.stats'.
Anne
--
***************************************************
Anne Wilson UCAR Unidata Program
address@hidden P.O. Box 3000
Boulder, CO 80307
----------------------------------------------------
Unidata WWW server http://www.unidata.ucar.edu/
****************************************************