Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: quickesy way to zero HUGe log files
- X-seq: zsh-users 10815
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: quickesy way to zero HUGe log files
- Date: Mon, 9 Oct 2006 12:53:03 +0000 (UTC)
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: SuccessTheory
- References: <Xns9857563677866zzappergmailcom@xxxxxxxxxxx> <20061009073941.GA17078@xxxxxxxxxxxxxxxxxxxxx>
- Sender: news <news@xxxxxxxxxxxxx>
Stanislaw Halik <sthalik@xxxxxxxxxxxxxx> wrote in
news:20061009073941.GA17078@xxxxxxxxxxxxxxxxxxxxx:
> 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.
>
Thanx JWTDO
--
http://successtheory.com/tips/ Vim, Zsh, MySQL Tips
Messages sorted by:
Reverse Date,
Date,
Thread,
Author