The du command is used to find out the space used by the directories and files in Linux. This means you can find files and directories taking the most and least size. But by default, the du command won't let you sort the output by size. In the simplest form, it will look like this: But the output is not human-readable.
Sort: