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
  • A Visitors Guide to Oklahoma City (OK), United States

  • A Visitor’s Guide to Tucson, Arizona, United States

  • A Visitor’s Guide to Hamilton, Canada

  • Beware of Fiverr: You Might Get Scammed

  • The Future of Artificial Intelligence: Navigating the Next Frontier

  • Best Home Backup Generators for 2026

  • Online Learning Platforms: Transforming Education in the Digital Age

  • Fastest Growing Sectors of the EdTech Market: Exploring Emerging Trends

  • The Best Video Games of All Time

  • What is the Best Gaming Platform on the Market?

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

Exercise by Accident Using These 9 Action-Packed ...

Matthew Lynch

Related articles More from author

  • Digital & Mobile Technology

    Best Video Cameras of 2023

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

    How to Fix Valorant’s Download Speed Stuck at 0.1KB/s on Windows

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

    Google Chrome vs. Samsung Internet: Which Android Browser Is Better?

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

    How to Fix It When Windows 11 Defender Won’t Open

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

    The 6 Best LED Light Kits of 2023

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

    How to Find a Person’s Date of Birth for Free

    May 28, 2023
    By Matthew Lynch

Search

Login & Registration

  • Register
  • 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 © 2025 Matthew Lynch. All rights reserved.