HOW TO FIND THE LARGEST FILES OR DIRECTORIES ON YOUR VPS

October 30, 2015   /   by Marco  / Categories :  Software, Technology
HOW TO FIND THE LARGEST FILES OR DIRECTORIES ON YOUR VPS

My CentOS VPS was running out of space so I needed to do a bit of a clean up and decided to see which files and directories used up the most space. So after some digging around I found these two commands.

This one is to find the largest 10 directories:

Business Legions Find Largest Directories

This one is to find the largest 10 files:

Business Legions Find Largest Files

If you want to display more than 10 results then change the tail -10 to another amount. I then found a couple of large xml files and deleted these which freed up over 2 GB of data.

 

DO YOU LIKE WHAT YOU'VE READ?
Join our subscription list and receive our content right in your mailbox. If you like to receive some Great deals our Freebies then subscribe now!

Our Sponsors

  • Follow us:

OTHER ARTICLES YOU MAY LIKE


Digital Signage for displaying digital content

Digital Signage for displaying digital content

Digital signage is an innovative way to display dynamic digital content. For those of you who don’t know what it is, basically think of the screens that you have seen in retail stores and shopping centres that display advertisements. That is digital signage! Here’s an example: There are three main components that make up a […]

read more
LOOKING FOR SURVEY SOFTWARE?

LOOKING FOR SURVEY SOFTWARE?

If you’re looking for the best survey software available on the market then let me introduce to you WPForms. Yes, you will need WordPress to use WPForms. I’ve previously mentioned this tool in other articles listed below: HOW TO CREATE GREAT LANDING PAGES IN 2020 NEW SALESFORCE ADDON FOR WPFORMS Creating surveys is a great […]

read more

Subscribe

Receive the latest news and awesome deals via email

Like our Page

site auditing tools