Skip to content

Instantly share code, notes, and snippets.

@happydeveloper
Created October 12, 2013 00:21
Show Gist options
  • Save happydeveloper/6944054 to your computer and use it in GitHub Desktop.
Save happydeveloper/6944054 to your computer and use it in GitHub Desktop.
#df – displays disk usage information based on file system (ie: entire drives, attached media, etc )
#The -h flag is for ‘human readable form’ meaning return results in the familiar megabyte/gigabyte format. You should see #something like this:
df -h
#du – displays disk usage information for each file and directory (ie: home directories, folders, etc )
du -sh ~
du -sh *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment