Skip to content

Instantly share code, notes, and snippets.

@jyhsu2000
Created September 12, 2016 14:13
Show Gist options
  • Save jyhsu2000/6d3aff0adc29659a71faf6275445a832 to your computer and use it in GitHub Desktop.
Save jyhsu2000/6d3aff0adc29659a71faf6275445a832 to your computer and use it in GitHub Desktop.
找大檔
find / -type f -size +1G -exec du {} \; 2>/dev/null | sort -n | tail -n 10 | xargs -n 1 du -h 2>/dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment