About Finding Largest Files in Directory

Find 10 largest files in the current directory with this bash command:

$ find . -type f -exec du -h {} + | sort -rh | head -n 10

Tips and Tricks Dev Ops Bash Zsh