Root filesystem full: /var/log > 1.8 GB
Marcin 'Qrczak' Kowalczyk
qrczak at knm.org.pl
Mon Oct 13 19:51:57 UTC 2008
2008/10/13 Hal Burgiss <hal at burgiss.net>:
>> > cat /dev/null > /var/log/$some_log
>>
>> "cat /dev/null" is an expensive way to spell "true" or ":", a command
>> which does nothing.
>
> How does one empty a logfile with 'true' or ':' and make sure logging
> is not adversely effected?
true >/var/log/$some_log
--
Marcin Kowalczyk
qrczak at knm.org.pl
http://qrnik.knm.org.pl/~qrczak/
More information about the ubuntu-users
mailing list