3 ms·
You can use the "-h" (human-readable) options to du and sort to do this: $ du -sh * | sort -rh 20M dist 6.9M pebble 1.5M internal 308K cmd ...
by benhoyt 4y ago
You can use the "-h" (human-readable) options to du and sort to do this:
$ du -sh * | sort -rh
20M dist
6.9M pebble
1.5M internal
308K cmd
...