Search Again:

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

From: Raj Mathur
Date: Sunday, August 1, 1999
Time: 7:08:24 pm

sh -c "> /var/log/file-to-be-cleaned"

This has the advantage of not changing the file's ownership or
permissions.

-- Raju

>>>>> "Matt" == Matt Lemsing <mlemsing@swavley.com.au> writes:

Matt> how do i return a filesize to 0? That is, i want to cleanup
Matt> my HUGE log files from taking up room, but rather than
Matt> getting rid fo the files i want to be able to clear all
Matt> their contents out and returm their size value to 0 - is
Matt> this possible and if so how do i do it..?

Matt> Matt


-------------------------------------------
To subscribe, unsubscribe and list archive
please visit http://www.optigold.com/lists
-------------------------------------------



Messages In This Thread:



Return to Digital Point Solutions' Home Page