12 Useful “df” Commands to Check Disk Space in Linux

Download all articles in PDF format with our TecMint Content Subscription and Linux Support Services starting at $10 per month.

Support TecMint: Did you find this tutorial helpful?. Please help to keep it alive by donating. Every cent counts! - Donate Now

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

21 Responses

  1. H says:

    there are 11 you use df -h twice (7) and (3)

  2. Harikrishna says:

    very useful and very easy way to learn the linux

  3. lzap says:

    Well -k is not in bytes.

  4. satishchow says:

    I used man df for help.. and I am not sure how to exit from help. I tried esc button, It shows end. Can you help me to exit from the help menu. Ofcourse for how close the terminal.

    • Ravi Saive says:

      @Satish,

      Just press ‘q‘ keystroke to exist from the man pages in the linux from the commandline. I hope it will resolve your issue and keep connected to tecmint for such awesome articles..

  5. Gregor says:

    Thx, this saved me a lot of work and helped me to solve some problems. I’ll save this article to my bookmarks, you always need all kind of linux commands.

  6. Alamgeer says:

    very nice information.

  7. Sandeep says:

    Thank you

  8. Rauf says:

    Thanks Ravi for explaining in detail. I being a newbie was lil worried using the Linux Commands. The explanation really helped free 15 GB of data on my server. Cheers !

  9. tuxlover says:

    If your df differs from du -csm /mountpoint, check for deleted files still opened (so still on disk, seen by df, but not du) with lsof :
    lsof |grep deleted

    For an online disk usage report you can also try http://www.diskreport.net
    With periodic reports you can get graphs of size changes for each directory, very usefull to find growing files

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 95000+ Linux Users
  1. 77,543
  2. 4,213
  3. 35,218

Enter your email to get latest Linux Howto's