- Open terminal
- Type
du -a /{folder} | sort -n -r | head -n {count}
{folder} is the starting location where you want to find the largest files and folders
{count} number of results you want to see
Example
Find the top 10 files of the whole file system
du -a / | sort -n -r | head -n 10
No comments:
Post a Comment