For Programmers: Free Programming Magazines  


Home > Archive > C# > April 2006 > Reducing log files









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Reducing log files
Paul Johnston

2006-04-18, 8:06 am

Hi
I've been asked to clear some space on a mail server as the logs are
filling up the partition.
I've not had a Unix role in many years now :-( but seem to remember
that instead of deleteing files i.e.

rm mmcheck.log

I was told to do

> mmcheck.log


This way the file is not deleted but its contents are emptied. I sort
of forgot, or more never likely knew what exactly this does to a file.
Could some kind person give me a clue as what is happening.
Doing this with my ordinary account on a file gives me:

Invalid null command

TIA Paul
Paul Johnston

2006-04-18, 8:06 am

oops sorry wrong group.
Paul
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com