du -sh * | sort -hr
Where:
- du -sh: Shows the sizes of files and directories in a human-readable format
- sort -hr: Sorts the output by size in human format, with the largest items at the top.
Sample:

That’s it, Enjoy!
du -sh * | sort -hr
Where:
Sample:

That’s it, Enjoy!