You can list all files in order of file name and file size with the following command.
ls -la $(find / -type f) | sort -k9
In file size order (descending order)
ls -la $(find / -type f) | sort -nr -k5
If only the top 10 in file size order (descending order)
ls -la $(find / -type f) | sort -nr -k5 | head -10
Recommended Posts