Linux Handbook
Read post

Sort du Command Output by Size in Linux

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.

    #linux
Sep 02, 2023•5m read time•From linuxhandbook.com
Post cover image
Table of contents
How to sort du command outputNext: A modern alternative to the du command
8 Impressions
Linux Handbook's image
Linux Handbook

LinuxHandbook's platform is a resource for Linux users and system administrators, offering insights ...

29 Followers

•

3 Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard