Last active
April 15, 2019 14:47
-
-
Save medwig/e57e65c0ed04325e0360349cb0828c3e to your computer and use it in GitHub Desktop.
List files sorted by size - Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias ducks="du -cksh .[^.]* * 2> /dev/null | sort -h -r | head" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sources:
https://www.cyberciti.biz/faq/how-do-i-sort-du-h-output-by-size-under-linux/
https://www.commandlinefu.com/commands/view/14223/a-sorted-summary-of-disk-usage-including-hidden-files-and-folders