Home / Operating Systems / Linux / How can I find the largest files and/or directories on my server?/
ServerTune provides -- managed and un-managed -- VPS hosting solutions at affordable prices to accommodate your personal and/or businesses needs.
Click here for more info ...

Browse by category
Search | Advanced search
If you wish to find out what file or directory is taking up the most space, SSH to the server and run the following command:
du -a /usr/local | sort -n -r | head -n 50
The system will display the 50 largest files and/or directores in /usr/local directory.