Skip to content

Instantly share code, notes, and snippets.

@maranemil
Created December 9, 2014 09:17
Show Gist options
  • Save maranemil/2ddc545ca94c3d75b8ff to your computer and use it in GitHub Desktop.
Save maranemil/2ddc545ca94c3d75b8ff to your computer and use it in GitHub Desktop.
Clean Lamp Log File on Ubuntu 14.10
sudo find / -name '*' -size +1G
sudo truncate -s0 error_log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment