[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: About /var/log/dpgk.log



On Mon, Jul 27, 2020 at 07:42:31PM +0000, Rodolfo Medina wrote:
> Must be so because
> 
>  $ zgrep "2018.*.install " /var/log/dpkg* 
> 
> gives no output and so with 2017, 2016 and 2015, whereas for 2019 and 2020
> there is output...

You can use ls -l to see the datestamps on the files.

You can zcat the oldest one, and pipe that through head, to see the
oldest entries in the oldest file.  That'll tell you where your cutoff
point is, more precisely than the datestamps (which will tell you the
end of each individual file, but not the beginning).


Reply to: