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