[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: how to i return a filesize to "0"....?



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]