Wednesday, May 8, 2024
 Popular · Latest · Hot · Upcoming
9
rated 0 times [  9] [ 0]  / answers: 1 / hits: 36639  / 2 Years ago, fri, september 2, 2022, 8:47:30

I have an 80 GB HDD without any partitions. One day I realized that I had lost most of my free disk space. I discovered that /var/log/kern.log.1 takes up 25 GB of space, and there is no delete option for that file.



Here is a screenshot of the problem:



20130110-125652



I am new to Ubuntu/Linux.
Please Help.
Thank You.


More From » kernel

 Answers
4

You should be fine removing that file, cause it's an already rotated log.
As you need root permissions to do that, you won't have an option in the GUI to delete that file.



You can do it from the command line:



sudo rm /var/log/kern.log.1


Each time you boot, log files will be created and rotated again, so you should probably watch for the next kern.log.* file sizes. Related bug report on Launchpad: https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/115774


[#33268] Saturday, September 3, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
fulild

Total Points: 239
Total Questions: 103
Total Answers: 112

Location: Papua New Guinea
Member since Thu, Jul 9, 2020
4 Years ago
fulild questions
Sat, Dec 11, 21, 20:10, 2 Years ago
Thu, Jun 17, 21, 12:05, 3 Years ago
Sat, Nov 19, 22, 16:28, 2 Years ago
Sat, Feb 25, 23, 22:59, 1 Year ago
Wed, Oct 12, 22, 04:04, 2 Years ago
;