Now, I see that my desktop running rhel 5.6 has run out of space. Now I need to clean it up. There must be some unintentional files adding up. What I would like to be able to do is list the files in descending size order in a clean way and see the culprits.
Asked
Active
Viewed 359 times
1
-
Less likely a solution, but you may have some duplicated files to remove. See Is there an easy way to replace duplicate files with hardlinks? for some tools. – manatwork Nov 16 '11 at 12:10
-
The command find . | xargs ls -l | grep ^- | sort -k 5 -n helped to zero down some culprits.. – xyz Nov 16 '11 at 12:20
3 Answers
3
First thing to try is yum clean packages
. Have a look at man yum
for more cleanup options.
Other things you could do are mostly cleaning your own downloaded files, logs etc., to which there' no general rule.

rozcietrzewiacz
- 39,269