Hi, folks
I was trying to clean up my root partition and I see these .gz files in /var/log and they're taking up a huge amount of space. Can I safely delete them? (specifically the kern.log.2(3)(4).gz files)
Can I delete these log.gz files?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
-
- Level 2
- Posts: 50
- Joined: Tue Dec 15, 2020 11:35 am
Can I delete these log.gz files?
Last edited by LockBot on Fri Feb 10, 2023 11:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
- Pjotr
- Level 24
- Posts: 20124
- Joined: Mon Mar 07, 2011 10:18 am
- Location: The Netherlands (Holland) 🇳🇱
- Contact:
Re: Can I delete these log.gz files?
Yes. See also:
https://easylinuxtipsproject.blogspot.c ... -mint.html
Notably the items 10, 11 and 12.
https://easylinuxtipsproject.blogspot.c ... -mint.html
Notably the items 10, 11 and 12.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
-
- Level 2
- Posts: 50
- Joined: Tue Dec 15, 2020 11:35 am
Re: Can I delete these log.gz files?
Thanks, really helpful link
Re: Can I delete these log.gz files?
you can delete every file in /var/log/ but leave folders alone. every log will return on the next boot or when an application for that log starts