Utilities apparently missing from Ubuntu15.10

silver.bullet at zoho.com silver.bullet at zoho.com
Mon Nov 2 22:10:10 UTC 2015


On Mon, 2 Nov 2015 22:49:02 +0100, silver.bullet at zoho.com wrote:
>On Tue, 3 Nov 2015 04:35:21 +0800, Bret Busby wrote:
>>> I have attached copies of the two .gz log files. I do not know
>>> whether they will be transmitted by the mailing list software.  
>>
>>I tried to post the relevant material, but the post was rejected by
>>the list administrator, so there it ends.  
>
>Just post the relevant part(s).
>
>$ sudo zgrep synaptic /var/log/apt/term.log.1.gz
>
>$ sudo zcat /var/log/apt/term.log.1.gz | grep synaptic
>
>Perhaps --before-context and --after-context are useful too.
>
>Regards,
>Ralf

PS:

I forgot to mention

sudo zless var/log/apt/term.log.1.gz

and

$ sudo zcat /var/log/apt/term.log.1.gz | tail

or  | head  etc. makes more sense than  | grep  ;), I just wanted point
out that there is the zcat command that can pipe to another command to
filter output.




More information about the ubuntu-users mailing list