English English

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/ard-site/templates/ardsite/library/Designer/Content/SingleArticle.php on line 198

Show the biggest files in the file system

Show the biggest files with their size in the file system or in a certain folder.

The 10 biggest files in the whole file system:

sudo du -a / | sort -n -r | head -n 10

The last number (-n 10) sets how many of the biggest files should be shown.

 

The 10 bigges files in a certain folder:

sudo du -a /home/ | sort -n -r | head -n 10

Here the home folder as an example.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok