<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/ngh4TH5oY" -->

---
title: Monitor disk space usage with BASH | daily.dev
description: With few simple BASH commands, you can quickly check which folders and files are the most disk space consuming on your system. The df command displays the...
canonical: https://daily.dev/posts/monitor-disk-space-usage-with-bash-ngh4th5oy
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Monitor disk space usage with BASH | daily.dev
og:description: With few simple BASH commands, you can quickly check which folders and files are the most disk space consuming on your system. The df command displays the...
og:url: https://daily.dev/posts/monitor-disk-space-usage-with-bash-ngh4th5oy
og:image: https://api.daily.dev/og/posts/ngh4TH5oY.png
og:image:alt: Monitor disk space usage with BASH
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Monitor disk space usage with BASH

**[DevDojo](https://daily.dev/sources/devdojo)** · [@alexdo](https://daily.dev/alexdo) · 4 min read · 1 upvotes · 0 comments

## Summary

With few simple BASH commands, you can quickly check which folders and files are the most disk space consuming on your system. The df command displays the amount of disk space available on the file system containing each file name argument. The du command can be used to locate file space usage on your server.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://devdojo.com/alexg/summarize-your-server-disk-space-usage-with-bash>

---

Tags: [#bash](https://daily.dev/tags/bash), [#linux](https://daily.dev/tags/linux)

[View this post on daily.dev](https://daily.dev/posts/monitor-disk-space-usage-with-bash-ngh4th5oy)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Monitor disk space usage with BASH","url":"https://daily.dev/posts/monitor-disk-space-usage-with-bash-ngh4th5oy","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/monitor-disk-space-usage-with-bash-ngh4th5oy"},"datePublished":"2021-04-05T09:20:29.139Z","dateModified":"2026-10-14T02:24:58.966Z","description":"With few simple BASH commands, you can quickly check which folders and files are the most disk space consuming on your system. The df command displays the...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/e48a727d88eb004ffe0bb3ef929d9cc9","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/e48a727d88eb004ffe0bb3ef929d9cc9","isAccessibleForFree":true,"articleSection":"DevDojo","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Person","name":"AlexDO","url":"https://daily.dev/alexdo","image":"https://media.daily.dev/image/upload/s--WXW_Nwn2--/f_auto/v1789118002/avatars/avatar_2CAXJ6ar9?_a=BAMAMicg0","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":1170}},"commentCount":0,"discussionUrl":"https://daily.dev/posts/monitor-disk-space-usage-with-bash-ngh4th5oy","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"bash,linux","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"DevDojo","item":"https://daily.dev/sources/devdojo"},{"@type":"ListItem","position":3,"name":"Monitor disk space usage with BASH"}]}
```

