Check disk space and largest folders
Show free disk space and top 10 largest folders in a path.
Shows disk usage per mounted filesystem in human-readable units. -h formats sizes as KB/MB/GB. Critical to run before large operations like database imports or Docker builds.
When you need this: Before large operations (DB imports, builds) and when diagnosing "no space left" errors.
Variables
Command
4 views
1 copies
Related in this category
Log in to save
Free account — save snippets into your own collections.