Home
Certification Preparation
CompTIA
Linux+
Disk space
cdad2000
Hello everyone,
What the command to view which file(s) is taking all he space? My ubunto server is @ 99%, and the df command is not the specific. I appreciate any "related" input. Thank you
Find more posts tagged with
Comments
dynamik
find / -type f -size +10000k
Change 10000k to whatever size you want to look for.
Grynder
Another way of would be to narrow it down to the directory using
du -ch /directoryname | grep total
go through the likely culprits first var, home, tmp
and then narrow it down further
cdad2000
Thank you , I would try it out ASAP. ; )
Silver Bullet
I think you will get your results a little quicker with dynamiks suggestion and if you want to see the size of each file as the find command locates those larger files, then you can append "-exec du -h {} \;" to his suggestion.
So, the command would look like so.
find / -type f -size +10000k -exec du -h {} \;
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of