On 30 October 2013 11:42, John Carter <[email protected]> wrote:
> I love Linux. > > > Just like > du -a | sort -n > except that lists all files and sorts by size. > > Related, many don't realise there's a parameter `-h` to sort, that doesn't provide help, but instead, sorts by human number forms. ( This feature of sort is not present on older sorts, or bsd sorts ) du -ah | sort -h Output now shows scale units, and is still sorted by size correctly. -- Kent
_______________________________________________ Linux-users mailing list [email protected] http://lists.canterbury.ac.nz/mailman/listinfo/linux-users
