[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnump3d-users] access.log file
From: |
Marty Huntzberry |
Subject: |
Re: [Gnump3d-users] access.log file |
Date: |
Mon, 01 May 2006 19:40:49 -0400 |
Thanks for the tips. I'm looking into the sort and tail commands on my Linux
network. I also started a new access.log file for May and will do that for
each month.
Marty
On Mon, 01 May 2006 19:32:09 -0400
Stan Mulder <address@hidden> wrote:
> Marty Huntzberry wrote:
> > I'd like to be able to view my log file starting with the most recent
> > entries at the beginning. Currently the access.log file appends the most
> > recent logs to the end of the file. Can I change this?
> >
>
> Not sure if it's changeable. Files are easily appended to. Writing to
> the top of a file is more disk intensive.
>
> You can do this:
>
> tail -20 /var/log/gnump3d/access.log
>
> That will show that last 20 log entries. I suppose you could run that
> output through a sorting process and sort on the date.
>
>
> _______________________________________________
> Gnump3d-users mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/gnump3d-users