February 19, 2018

Find Large Files in Linux

In today’s tutorial we are going to show you how to find large files in Linux. One of the most common things you will do as a Linux system administrator is finding unneeded large files that consume disk space, and removing them to free up space for applications that actually need it. Let’s dive in and find out how we can find, large files in Linux.

1. Finding largest directories and files in Linux

First we are going to look at how we can find the largest directories and files in linux combined, execute the following command to find the top 10 largest directories and files on your Linux server:

# du -ah /* 2>/dev/null | sort -rh | head -n 10

Read more at RoseHosting Blog

Click Here!