Skip to content

Instantly share code, notes, and snippets.

@msankhala
Forked from thebouv/ducks.sh
Created February 22, 2018 16:34
Show Gist options
  • Select an option

  • Save msankhala/a4895ad4dc451008ece56cd4d00e6574 to your computer and use it in GitHub Desktop.

Select an option

Save msankhala/a4895ad4dc451008ece56cd4d00e6574 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