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

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux course in 5 Days

We are thankful for your never ending support.

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...

23 Responses

  1. tony says:

    hi, I want to free space in /uo2/Oracle/Middleware how do i do that

  2. H says:

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

  3. Harikrishna says:

    very useful and very easy way to learn the linux

  4. lzap says:

    Well -k is not in bytes.

  5. 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:


      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..

  6. 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.

  7. Alamgeer says:

    very nice information.

  8. Sandeep says:

    Thank you

  9. 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 !

  10. 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 150K+ Linux Users
  1. 100,756
  2. 5,113
  3. 36,418

Enter your email to get latest Linux Howto's