Skip to content

Instantly share code, notes, and snippets.

@zipizap
Created December 10, 2013 10:04
Show Gist options
  • Save zipizap/7888354 to your computer and use it in GitHub Desktop.
Save zipizap/7888354 to your computer and use it in GitHub Desktop.
Solaris "du" does not have the option "--max-depth=1", and this simple script eases a little bit of that pain... Output is shown in Kb and sorted by size
du -k . | egrep -v '\/.*\/' | sort -n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment