October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk3 min

How to Check Ubuntu Disk Space and Free Up Space Safely

Check Ubuntu disk space with graphical tools or df -h, locate large folders with du, and reclaim space by carefully reviewing personal files and Trash.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To see how much space Ubuntu has available, run df -h or open a graphical storage tool. To find what is using space, inspect folders with Disk Usage Analyzer or du. Start cleanup with personal files you recognize, check Trash, and back up important files before deleting them.

Check available space in Ubuntu

Ubuntu’s desktop help lists three graphical options: Disk Usage Analyzer, System Monitor, and Usage. They show storage in different ways, so choose based on whether you want a visual folder scan or a filesystem summary.

As an Amazon Associate I earn from qualifying purchases.

Tool What it shows Useful when
Disk Usage Analyzer File locations, usage, and capacity; it can scan a selected folder. You want to explore which folders are large.
System Monitor Filesystem totals, free and available space, and used space in its File Systems tab. You want a filesystem-level overview.
Usage Total used and available space, plus usage by common directories in its Storage tab. You want a simple storage overview. Its layout and available controls can vary by Ubuntu release.

These tools are described in Ubuntu desktop help for checking disk space. The Usage tool may let you select a user directory to free space; inspect the selected directory and its contents before confirming removal.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use the terminal for filesystem availability

Run:

df -h

With no path argument, df lists currently mounted filesystems. The -h option displays sizes in human-readable units. To check the filesystem containing the root directory, use df -h /; to check the one containing your home directory, use df -h "$HOME".

#1 Best Overall
Sale
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400) | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
  • Easily store and access 2TB to content on the go with the Seagate Portable Drive, a USB external hard drive
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

df tells you filesystem capacity and availability, not which individual files are taking up space. These commands follow the GNU df reference in Ubuntu Noble documentation, which identifies coreutils version 9.4-3ubuntu6.3: Ubuntu Noble manpage for df.

Find the folders using space

Use du to estimate space used by files and directories it can traverse. To see a summary of the first level of folders in your home directory, run:

Rank #2
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
  • Easily store and access 5TB of content on the go with the Seagate portable drive, a USB external hard Drive
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.
du -h --max-depth=1 "$HOME" | sort -h

For a first-level summary under /var, which may include locations your user cannot read, run:

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
sudo du -h --max-depth=1 /var | sort -h

sort -h orders the human-readable sizes so larger entries are easier to spot. Use targeted scans rather than starting with the whole filesystem: scanning a large tree can take time, and permission restrictions may prevent du from traversing some locations.

Rank #3
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
  • Easily store and access 1TB to content on the go with the Seagate Portable Drive, a USB external hard drive.Specific uses: Personal
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop. Reformatting may be required for Mac
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

du and df answer different questions, so their totals may not match. Filesystem blocks, sparse files, permissions, mount points, and deleted files that are still open by a running program can all affect the comparison. The Ubuntu community guide to recovering disk space discusses the distinction and common causes; it is community-maintained, not a release-specific official procedure.

Free space with a conservative cleanup

  1. Identify the full filesystem. Run df -h and check which filesystem is short on space. If /boot, your home directory, or another separately mounted filesystem is full, cleaning files on the root filesystem may not help.

    Rank #4
    Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue
    • Easily store and access 4TB of content on the go with the Seagate Portable Drive, a USB external hard drive.Specific uses: Personal
    • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
    • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
    • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
    • The available storage capacity may vary.
  2. Locate likely large folders. Use one of the graphical tools or a targeted du scan. Size alone does not show whether a folder is safe to remove.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  3. Review personal files first. Check Downloads, old files, duplicate copies, backups saved in the wrong location, and Trash. Delete only items you recognize and no longer need. Ubuntu’s desktop help recommends removing files that are no longer important or useful; its disk-space help also describes graphical ways to inspect storage.

    Best Value
    Sale
    UnionSine 500GB Ultra Slim Portable External Hard Drive HDD-USB 3.0
    • [Upgraded Version] - This external hard drive features a mirrored logo stripe combined with a striped anti-slip design, and the rounded corners of the casing make it easier to grip. The stripes also have a heat dissipation function, ensuring stable and fast data transfer.
    • 【Ultra-thin and quiet】 - The motherboard adopts JMicron 578 noise-free solution, giving you a quiet working environment. Lightweight and portable size designed to fit in your pocket for easy portability.
    • 【Ultra-Fast Data Transfers】 - Pairing this external hard drive with JMicron 578 solution USB 3.0 and USB 2.0 interfaces enables blazing-fast data transfer. It boasts theoretical read speeds of up to 125MB/s and write speeds of up to 103MB/s.
    • 【Plug and Play】 - With no software to install, just plug it in and the drive is ready to use.The hard disk chip is wrapped with an aluminum anti-interference layer to increase heat dissipation and protect data.
    • 【What You Get】 - 1 x Portable Hard Drive, 1 x USB 3.0 Cable, 1 x User Manual, Gift-type shell packaging ,Three-year manufacturer's warranty and free technical support services.
  4. Protect files you want to keep. Back up important files before deleting them from the computer. If you move a file to a backup destination, open the backed-up copy to verify it is readable before removing the original. Ubuntu recommends backing up important files before deletion in its desktop storage guidance. An external drive is one optional backup destination, not a requirement for checking or cleaning disk space.

  5. Check the result. Run df -h again to confirm whether available space increased on the filesystem you intended to clean.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What not to delete casually

A large system directory is not automatically disposable. Avoid broad rm commands and manual deletion from /usr, /var/lib, or /boot unless you understand exactly what the files do. Do not truncate logs using an unexplained command.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Package-cache or old-kernel cleanup needs instructions appropriate to your Ubuntu release and a careful review of the package list before confirming removal; autoremove should not be treated as risk-free. Ubuntu’s desktop storage help treats checking space separately from procedures such as resizing partitions, testing disk health, and repairing filesystems. Those are distinct tasks, not routine cleanup steps.

Quick Recap

SaleBestseller No. 1
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400) | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400) | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$129.99
Bestseller No. 2
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$229.99
Bestseller No. 3
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$119.80
Bestseller No. 4
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$208.99

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

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

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.