From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26994 invoked from network); 9 Oct 2006 07:40:02 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.6 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 9 Oct 2006 07:40:02 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 81516 invoked from network); 9 Oct 2006 07:39:53 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 9 Oct 2006 07:39:53 -0000 Received: (qmail 4832 invoked by alias); 9 Oct 2006 07:39:45 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10814 Received: (qmail 4822 invoked from network); 9 Oct 2006 07:39:43 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 9 Oct 2006 07:39:43 -0000 Received: (qmail 80388 invoked from network); 9 Oct 2006 07:39:43 -0000 Received: from rollercoaster.insane.pl (HELO mail.in5.pl) (213.251.173.13) by a.mx.sunsite.dk with SMTP; 9 Oct 2006 07:39:42 -0000 Received: from c182-250.icpnet.pl ([85.221.182.250] helo=enkidu.local) by mail.in5.pl with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (envelope-from ) id 1GWpji-00076o-22 for zsh-users@sunsite.dk; Mon, 09 Oct 2006 09:39:42 +0200 Received: from sthalik by enkidu.local with local (Exim 4.63) (envelope-from ) id 1GWpjh-0004S6-Mh for zsh-users@sunsite.dk; Mon, 09 Oct 2006 09:39:41 +0200 Date: Mon, 9 Oct 2006 09:39:41 +0200 From: Stanislaw Halik To: zsh-users@sunsite.dk Subject: Re: quickesy way to zero HUGe log files Message-ID: <20061009073941.GA17078@localhost.localdomain> Mail-Followup-To: zsh-users@sunsite.dk References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) X-User: sthalik On Mon, Oct 09, 2006, zzapper wrote: > May be O/T what would be the quickest way to zero my huge "in use" Apache > log files?. I usually vim them, but they've got so huge that that's a pain Truncate them to 0 bytes? ": > /log/file" will do.