Skip to content

Instantly share code, notes, and snippets.

@benman1
Created August 1, 2018 13:38
Show Gist options
  • Save benman1/0a1edf07dbcdee84c44483fd72be5e69 to your computer and use it in GitHub Desktop.
Save benman1/0a1edf07dbcdee84c44483fd72be5e69 to your computer and use it in GitHub Desktop.
Bash one liners
# display the biggest files within a directory
find mypath -type f -printf '%s %p\n'| sort -nr | head -10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment