Subject: Re: Log...
To: Denis St-Amand <dsa@dsa.net>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 04/03/1997 16:54:07
>
> Hi,
> Just a little two, How can i erase this file: ?
>
> /var/log/
> -rw-r--r-- 1 root wheel 3371580 Apr 3 18:54 wtmp
> It is growing...
cat /dev/null > /var/log/wtmp
You can't just erase it as the system probably has it open, and
will keep the file until all the users have closed it. By copying
"nothing" over it, you clear it out now. Otherwise you'd have to
reboot to get the space back.
Take care,
Bill