Tuesday 30 March 2021

Top 10 space consuming files in Linux

 

This document describes how to find top 10 space consuming files in Linux. 

Some times we have to purge files to cleanup file system in the server.  We can utilize below command to find top 10 space consuming files in a given directory. We can purge the files if the files are older and are not required.


Top 10 space consuming files in linux server.

$ du -a * | sort -n -r | head -n 10







Thanks for going through the post.....................




No comments:

Post a Comment