arrow_back
Back

Storage

Andrew Dorokhov Andrew Dorokhov schedule 1 min read
menu_book Table of Contents

Check disk usage of mounted filesystems

df -h
  • The df command displays disk space usage for all mounted filesystems.
  • The -h option makes the output human-readable (e.g., in GB or MB).

Check disk usage of specific directory

du -h /path/to/directory
  • The du command estimates the disk usage of a directory and its contents.
code

Need Help with Development?

Happy to help — reach out via the contacts or go straight to my Upwork profile.

work View Upwork Profile arrow_forward