How to solve the disk full issue in Linux quickly?

Disk FULL?

Find disk size

df -h

find which files are too big in GB or in MB

cd /
du -h | group '[0-9\.]\+G'

or

du -h | group '[0-9\.]\+M'

Then remove unneeded big files.

Clean the dustbin too!

rm -rf ~/.local/share/Trash/files

 

Advertisements