Linux storage space cleaning logic

insert image description here

df -lh

insert image description here

du --max-depth=1 -h /

insert image description here
two large files

du --max-depth=1 -h /var

insert image description here
It was found that the log file was too large and
insert image description here
the visible hard disk space was released after deletion.
insert image description here

Guess you like

Origin blog.csdn.net/deng_xj/article/details/120890565