Skip to primary content

42

Web notebook about thoughts and discoveries in DevOps, SRE, Software Engineering….

42

Main menu

  • Home
  • About
  • contact
  • Links

Post navigation

← Previous Next →

Linux sort files by human readable size

Posted on 26 August 2023 by kosmas

To sort the files in a directory use the following

du -sh -- * | sort -h

Taken from https://unix.stackexchange.com/a/4682

This entry was posted in linux and tagged du, linux, sort by kosmas. Bookmark the permalink.
Proudly powered by WordPress