A tutorial on how to use the ls command in Linux to list or sort all files by size is available at Linux Shell Tips.
How to List or Sort All Files by Size in Linux
The Linux ls command is a handy tool for listing files inside a directory. In the past, we have covered how to list and sort files by last modification time using the ls command. In this article, we will go a step further and explore ways that you can list all the files in a specific directory and sort them by file size.
How to List or Sort All Files by Size in Linux