Problem Description:
Initially partition, /home
the partition is 250G, only found a plurality of spaces 10 G, however, after using a period of time du -h –-max-depth=0 *
to check /home
the use of the document, found to be effective occupy only about 100G.
It is suspected due to improper manner previously deleted files, right-delete junk files cause has not been cleared up, in essence, to continue to use temporary space.
Solution
cd~/.local/share/Trash/files
To the corresponding storage of trash until the
du -sh
query with the size of the space temporarily, 125G, clear reason (delete inappropriate way)
sudo rm -rf *
to delete the file
sudo rm -rf .*
delete hidden files,
du -sh
query again, 904 k
df -h
query, display using 99G, the remaining 154G, the problem is solved.
Revelation
- Using the right mouse button to delete , does not really delete files, but moved to
/home
the folder to save, delete the file the next time, the use ofrm -rf
methods to completely remove. - Start using the
linux
system, we must get accustomed to the command line, although difficult, to get accustomed to. Includingvim
basic commands.