FG
💻 Software

How to determine available free space on Ubuntu?

Fresh5 days ago
Mar 15, 2026129027 views
Confidence Score1%
1%

Problem

I am in a situation where I am getting an error when I try to save a file to my Ubuntu server via ssh. It says there isn't any available space left. I don't know how that can be true. What should I do to determine how much space is left and/or what resources are using the most space? Update: gave me some stuff to look at. Is that the command I am looking for?

Error Output

df -h

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to determine available free space on Ubuntu?

Low Risk

Yes, (Disk Free) will show the free space on each of the mounted file systems. So to the filesystem that's full, and (Disk Usage) will show the total space used by each of the files/directories in the current working directory. The option for may also be useful here. Finding exactly what is responsible for using all the space can be somewhat of an art - This answer lists some graphical utilities that can make that easier, though of course this isn't helpful in your case. The simplest approach i…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment