Skip to content

Instantly share code, notes, and snippets.

@aliceinwire
Forked from thebouv/ducks.sh
Created June 9, 2020 01:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aliceinwire/9f9007f13982c4069ac2d5a6e846c45a to your computer and use it in GitHub Desktop.
Save aliceinwire/9f9007f13982c4069ac2d5a6e846c45a to your computer and use it in GitHub Desktop.
ducks: linux command for the 10 largest files in current directory
du -cks * | sort -rn | head -11
# Usually set this up in my bash profile as an alias:
# alias ducks='du -cks * | sort -rn | head -11'
# Because it is fun to type ducks on the command line. :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment