Skip to content

Instantly share code, notes, and snippets.

@aidoskz
Forked from thebouv/ducks.sh
Created October 29, 2018 11:39
Show Gist options
  • Select an option

  • Save aidoskz/8fc907ec7bd068e1400bb0c495a50e26 to your computer and use it in GitHub Desktop.

Select an option

Save aidoskz/8fc907ec7bd068e1400bb0c495a50e26 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