Skip to content

Instantly share code, notes, and snippets.

@skseth
Created June 1, 2021 10:01
Show Gist options
  • Save skseth/0fde143f578a9c3c8dbe05ca1af423bd to your computer and use it in GitHub Desktop.
Save skseth/0fde143f578a9c3c8dbe05ca1af423bd to your computer and use it in GitHub Desktop.
# du -sh - disk usage in s - summary h - human readable format
# grep -E "\dG" - filter out items with a digit followed by G - gigabyte
du -sh * | grep -E "\dG"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment