[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: how to i return a filesize to "0"....?
- From: Chris Albertson <calbertson logicon com>
- To: redhat-install-list redhat com
- Cc: "'Basic Linux Training'" <blt onelist com>, "'Aaron Lynch'" <aaron digitalspeed com>, "'duncan fim com au'" <duncan fim com au>, "'isp-linux isp-linux com'" <isp-linux isp-linux com>, "'Optigold ISP List'" <isp-list optigold com>
- Subject: Re: how to i return a filesize to "0"....?
- Date: Mon, 02 Aug 1999 15:12:16 -0700
Matt Lemsing wrote:
>
> how do i return a filesize to 0? That is, i want to cleanup my HUGE log
> files from taking up room, but rather than getting rid fo the files i
> want to be able to clear all their contents out and returm their size
> value to 0 - is this possible and if so how do i do it..?
Use any text editor and simply delete all the lines. "vi" will do it
just fine. You can also delete the file with "rm" and recreate an
empty file by using the "touch" command.
--
Chris Albertson
calbertson logicon com Voice: 626-351-0089 X127
Logicon, Pasadena California Fax: 626-351-0699
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]