The Tech Edvocate

Top Menu

  • Advertisement
  • Apps
  • Home Page
  • Home Page Five (No Sidebar)
  • Home Page Four
  • Home Page Three
  • Home Page Two
  • Home Tech2
  • Icons [No Sidebar]
  • Left Sidbear Page
  • Lynch Educational Consulting
  • My Account
  • My Speaking Page
  • Newsletter Sign Up Confirmation
  • Newsletter Unsubscription
  • Our Brands
  • Page Example
  • Privacy Policy
  • Protected Content
  • Register
  • Request a Product Review
  • Shop
  • Shortcodes Examples
  • Signup
  • Start Here
    • Governance
    • Careers
    • Contact Us
  • Terms and Conditions
  • The Edvocate
  • The Tech Edvocate Product Guide
  • Topics
  • Write For Us
  • Advertise

Main Menu

  • Start Here
    • Our Brands
    • Governance
      • Lynch Educational Consulting, LLC.
      • Dr. Lynch’s Personal Website
      • Careers
    • Write For Us
    • The Tech Edvocate Product Guide
    • Contact Us
    • Books
    • Edupedia
    • Post a Job
    • The Edvocate Podcast
    • Terms and Conditions
    • Privacy Policy
  • Topics
    • Assistive Technology
    • Child Development Tech
    • Early Childhood & K-12 EdTech
    • EdTech Futures
    • EdTech News
    • EdTech Policy & Reform
    • EdTech Startups & Businesses
    • Higher Education EdTech
    • Online Learning & eLearning
    • Parent & Family Tech
    • Personalized Learning
    • Product Reviews
  • Advertise
  • Tech Edvocate Awards
  • The Edvocate
  • Pedagogue
  • School Ratings

logo

The Tech Edvocate

  • Start Here
    • Our Brands
    • Governance
      • Lynch Educational Consulting, LLC.
      • Dr. Lynch’s Personal Website
        • My Speaking Page
      • Careers
    • Write For Us
    • The Tech Edvocate Product Guide
    • Contact Us
    • Books
    • Edupedia
    • Post a Job
    • The Edvocate Podcast
    • Terms and Conditions
    • Privacy Policy
  • Topics
    • Assistive Technology
    • Child Development Tech
    • Early Childhood & K-12 EdTech
    • EdTech Futures
    • EdTech News
    • EdTech Policy & Reform
    • EdTech Startups & Businesses
    • Higher Education EdTech
    • Online Learning & eLearning
    • Parent & Family Tech
    • Personalized Learning
    • Product Reviews
  • Advertise
  • Tech Edvocate Awards
  • The Edvocate
  • Pedagogue
  • School Ratings
  • Toxic Pills: This Supplement Scandal Puts Millions at Risk

  • Urgent Dog Supplement Recall: This Stealthy Threat Could Be Hiding in Your Pantry!

  • Staggering: Climate Tech Fundraising Collapses — Is AI to Blame?

  • Global AI stocks tumble as industry’s biggest names sound alarm – The Straits Times

  • Sony’s Controversial Move: Why the Last of Us Part II Multiplayer Mod Got Axed

  • Trump’s Wild AI Claims: Is There a ‘Sick Conspiracy’ Against Tech?

  • This One Thing Is Turning Classrooms Into Culture War Battlegrounds

  • Your AI Detector Is Useless: Why Universities Are Scrapping ‘Catch & Ban’ for This

  • Terrifying: AI Is About to Break Cybersecurity – And No One Is Ready

  • Volkswagen’s Staggering Miscalculation: 50,000 Jobs Vanish as EV Dream Sours

Digital & Mobile Technology
Home›Digital & Mobile Technology›How to Check Disk Usage on Linux With duf

How to Check Disk Usage on Linux With duf

By Matthew Lynch
August 3, 2023
0
Spread the love

As a Linux user, it’s important to keep an eye on your disk space. When you are running low on disk space, it can slow down your system, cause errors, and even lead to data loss. It is always better to catch the issue before it becomes too serious. In this article, we’ll learn how to check disk usage on Linux with duf.

What is duf?

Duf is a tool that makes it easy to check disk usage on Linux. Unlike the popular command “df” that comes pre-installed on almost all Linux systems, duf is a more user-friendly and interactive tool.

duf displays the disk usage of all your mounted devices in a simple and easy-to-understand format. It is written in Golang, open source, and supports various platforms such as Linux, BSD, macOS, and even Windows.

Installing duf

Before we proceed, we’ll need to install duf. If you’re using Linux, use your package manager to install.

Example for Debian based systems:

sudo apt-get install duf

If you’re using macOS, you can use Homebrew to install.

brew install duf

Checking Disk Usage with duf

Now that we have installed duf, let’s learn how to use it.

Open up your terminal and type duf. You should see an output similar to the image below.

![Duf Output](https://cdn-images-1.medium.com/max/800/1*Axu8548nTfTwhZKMimYJFQ.png)

Duf will list the disk storage capacity, used storage, free storage, and the percentage of used storage of all your mounted devices.

As you can see in the screenshot above, the output from duf is arranged in a table view showing the file path to the mounted device, the storage capacity, used storage, and free storage in a human-readable format.

You can also sort the results in ascending or descending order based on any column by using the -sort flag as shown below.

duf -sort path

By default, duf doesn’t show hidden directories. You can display hidden directories by using the -a flag.

duf -a

There is also the option of filtering the results. For example, let’s suppose you only want to see the output of your external HDD.

duf -path /media/user/EXTERNAL_HDD

This will display only the disk usage of your external HDD.

Conclusion

Keeping an eye on disk usage is one of the most important things you can do to protect your data and keep your Linux system running smoothly. With duf, it’s easy to monitor disk usage in a more user-friendly and interactive way. Duf’s simple and easy-to-understand format makes it a great alternative to the traditional df command. By following the steps outlined in this article, you’ll be able to start monitoring your disk usage on Linux with duf in no time.

Previous Article

7 Ways to Earn Money From Coding ...

Next Article

Microsoft Edge for Mac: Should You Use ...

Matthew Lynch

Related articles More from author

  • Digital & Mobile Technology

    What Is a White Screen of Death? How to Fix It on Windows

    August 5, 2023
    By Matthew Lynch
  • Digital & Mobile Technology

    Why Is My Phone Lagging? 6 Possible Causes

    September 7, 2023
    By Matthew Lynch
  • Digital & Mobile Technology

    Awesome iPhone App Icon Packs to Customize Your Home Screen

    June 14, 2023
    By Matthew Lynch
  • Digital & Mobile Technology

    How to Fix “The Installer Has Encountered an Unexpected Error 2203” on Windows 10 and 11

    June 15, 2023
    By Matthew Lynch
  • Digital & Mobile Technology

    How Many HDMI Inputs Do I Want on an HDTV?

    June 4, 2023
    By Matthew Lynch
  • Digital & Mobile Technology

    6 Tips to Improve the Speed of Your Powerline Network

    August 3, 2023
    By Matthew Lynch

Search

Login & Registration

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Newsletter

Signup for The Tech Edvocate Newsletter and have the latest in EdTech news and opinion delivered to your email address!

About Us

Since technology is not going anywhere and does more good than harm, adapting is the best course of action. That is where The Tech Edvocate comes in. We plan to cover the PreK-12 and Higher Education EdTech sectors and provide our readers with the latest news and opinion on the subject. From time to time, I will invite other voices to weigh in on important issues in EdTech. We hope to provide a well-rounded, multi-faceted look at the past, present, the future of EdTech in the US and internationally.

We started this journey back in June 2016, and we plan to continue it for many more years to come. I hope that you will join us in this discussion of the past, present and future of EdTech and lend your own insight to the issues that are discussed.

Newsletter

Signup for The Tech Edvocate Newsletter and have the latest in EdTech news and opinion delivered to your email address!

Contact Us

The Tech Edvocate
910 Goddin Street
Richmond, VA 23231
(601) 630-5238
[email protected]

Copyright © 2026 Matthew Lynch. All rights reserved.