Skip to content

Instantly share code, notes, and snippets.

@mauriballes
Created June 13, 2019 14:55
Show Gist options
  • Save mauriballes/1486282251175c49f9e8b85f7fcf334e to your computer and use it in GitHub Desktop.
Save mauriballes/1486282251175c49f9e8b85f7fcf334e to your computer and use it in GitHub Desktop.
Check Disk Size by Folders on Ubuntu
#! /bin/bash
du -cha --max-depth=1 / | grep -E "M|G"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment