[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 2000030301850
- Subject: Re: 2000030301850
- Date: Fri, 31 Mar 2000 14:20:41 -0700
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/
****************************************************