Skip to content

Instantly share code, notes, and snippets.

@shiroyuki
Created October 15, 2015 17:50
Show Gist options
  • Save shiroyuki/174993b04f33c9ccf821 to your computer and use it in GitHub Desktop.
Save shiroyuki/174993b04f33c9ccf821 to your computer and use it in GitHub Desktop.
The script to check the disk usage
#!/bin/bash
du --max-depth=1 2> /dev/null | sort -n -r | head -n20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment