I noticed that my disk in my Linux ubuntu server is already full and one that's causing it is inside my /var/log
folder.
I have these files inside my /var/log
:
I don't know what files are these, but are these safe to delete?
There's a bunch of alternatives.log.x
and other .gz
files. Can i delete those?
Thanks.
terminal
typecd /var/log
thenls -alS
and look at the first 1-5 lines of output to see the top file sizes. Thentail filename
. So NO, don't delete anything. – heynnema May 17 '20 at 13:31ls -alS
command, and instructions on what to do next. As any forensic detective will tell you, don't delete evidence without looking at it first. – heynnema May 18 '20 at 01:53