Re: [fwAnalog] fwanalog.all.log too big

From: Balázs Bárány (balazs~AT~tud.at)
Date: Fri Oct 17 2003 - 22:00:58 CEST



Hello,

Deleting the first 10000 lines:
$ sed '1,10000d' /path/to/fwanalog.all.log > /path/to/fwanalog.all.log.new $ mv /path/to/fwanalog.all.log.new /path/to/fwanalog.all.log

Keeping only the last 10000 lines:
$ tail -10000 /path/to/fwanalog.all.log > /path/to/fwanalog.all.log.new $ mv /path/to/fwanalog.all.log.new /path/to/fwanalog.all.log

Regards

-- 
_________________________________________________________________________
Balázs Bárány       balazs~AT~tud.at        http://tud.at       ICQ 10747763

A good engineer will make considerable effort to avoid additional effort.


This archive was generated by hypermail 2.1.5 : Wed Oct 22 2003 - 10:42:04 CEST