How to list files by size?

QuestionsQuestions8 SkillsProBasic Files OperationsAug, 31 2025
0145

To list files by size, you can use the following command:

ls -lS

This command will list files in long format (-l) and sort them by size (-S), with the largest files appearing first.

0 Comments

no data
Be the first to share your comment!