Root filesystem full: /var/log > 1.8 GB
Hal Burgiss
hal at burgiss.net
Mon Oct 13 19:39:06 UTC 2008
On Mon, Oct 13, 2008 at 09:17:29PM +0200, Marcin 'Qrczak' Kowalczyk wrote:
> 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?
--
Hal
More information about the ubuntu-users
mailing list