I just got a message from the default disk analyses software (Baobab)that I only have 1GB left on the hard drive. After some search, I found that the /var/log/
folder is the cause of this.
Some file/sizes in /var/log/
:
- kern.log = 12.6 GB
- ufw.log = 12.5 GB
- kern.log.1 = 6.1 GB
- ufw.log.1 = 6.0 GB
Et cetera et cetera. /var/log
is huge.
Can I delete those files or the entire /var/log
folder? Or is that a BIG NO NO in Ubuntu?