[plug] .xsession-errors

Matt Kemner zombie at penguincare.com.au
Thu Dec 2 11:36:47 WST 2004


On Thu, 2 Dec 2004, quoth Russell Steicke:

> > Should I just rm it and touch a new one?
>
> That won't work, because programs in your X session will still have it
> open for writing, so the space won't be freed even though the file
> disappears from your home directory.  The only way to get rid of it is
> to log out.

Handy tip: You can truncate files with the > operand

ie bash:~# > .xsession-errors

This will overwrite the file with a 0 length one, instantly saving you the
space.

Regards,

 - Matt




More information about the plug mailing list