How do I empty logfiles in Ubuntu?

Solution 1:

If you are uncomfortable with using the terminal then consider using a GUI package like Stacer downloadable from the ubuntu software center.

enter image description here

Running stacer and using the cleaning tool you can see graphically your Application Logs and choose what to clear down by clicking on the check mark against each.

enter image description here