Skip to content

Instantly share code, notes, and snippets.

@shubhamagarwal92
Created June 5, 2019 22:58
Show Gist options
  • Save shubhamagarwal92/ea3f7024fc759ee5f5140321b9d4c1f1 to your computer and use it in GitHub Desktop.
Save shubhamagarwal92/ea3f7024fc759ee5f5140321b9d4c1f1 to your computer and use it in GitHub Desktop.
Get the storage of the current folder and the mount system
# Usage of the current folder
du -sh
# Get the storage used by each sub-directory in the folder
du -h
# Get filesystem, size, used avail and mounted info
df -h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment