Finding files on a *nix/Linux and sorting by size

1. Finding files on *NIX and sort by size

find ~ -iregex ".*/*.sh" -type f -print0 | xargs -0 -n1 du -b | sort -n -r

原文地址:https://www.cnblogs.com/xuanyuanchen/p/7799262.html