Skip to content

Instantly share code, notes, and snippets.

@ufuk
Last active July 9, 2017 19:22
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 ufuk/bbf1c3599bbe6a51d93a17f114637d3c to your computer and use it in GitHub Desktop.
Save ufuk/bbf1c3599bbe6a51d93a17f114637d3c to your computer and use it in GitHub Desktop.
Helps you to find out largest 10 directories in the current working directory in a UNIX system. (Command to see disk usage: df -h)
du -a . | sort -n -r | head -n 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment