Skip to content

Instantly share code, notes, and snippets.

@thebouv
Last active April 1, 2024 18:11
Show Gist options
  • Star 34 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
  • Save thebouv/8657674 to your computer and use it in GitHub Desktop.
Save thebouv/8657674 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. :)
@thebouv
Copy link
Author

thebouv commented Jan 23, 2023

Suddenly wondering why this has got attention when I posted it in 2014. Weird.

@georgedorn Yeah guess it’s just never come up. 🤷🏼‍♂️

@Goorzhel
Copy link

I saw it linked on Mastodon.

@thebouv
Copy link
Author

thebouv commented Jan 23, 2023

I saw it linked on Mastodon.

Hah! Neat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment