Essential Utilities: Reclaiming Disk Space


You often hear that disk space is cheap and plentiful. And it’s true that a 4TB mechanical hard disk drive currently retails for around 100 dollars. But like many users I have moved over to solid-state drives (SSD) as my primary storage. SSD does functionally everything a hard drive does, but helps to make a computer feel more responsive. With a SSD, data is stored on interconnected flash memory chips that retain the data even when there’s no power present. SSDs are more expensive than mechanical hard drives in terms of dollar per gigabyte. And SSDs with high capacities are thin on the ground and expensive, so most users settle for lower capacity SSDs.
Whatever the size of the hard disk, my disks always fill up over time; it seems data expands to fill any void. This is partly because I experiment with lots of distributions and software. But hard disks do seem to fill up by themselves. Whether you use SSDs or mechanical hard disk drives, you cannot afford to be rash with storage. When a hard disk is full, it can be very time consuming to sort out and remove offending files and directories.
Linux distributions come supplied with utilities to explore disk usage. For example, du is a popular tool used to estimate file space usage; space being used under a particular directory or files on a file system. Here’s some sample output from du.
du shows directories which are taking up space. And you can combine du with other command-line utilities such as grep and sort to make the output more meaningful. But if you want a more visual experience, step forward the graphical utilities designed to make tracking down wasted disk space effortless.
The utilities featured in this article help to simplify the process by scanning your drive and producing interactive maps that shows each file as a colored rectangle that’s proportional to the size of the file. And this software can distinguish between large collections of data which are still in use and ones which have not been accessed for a long time. The latter may be image files or large archives downloaded, unpacked, used once, and never cleaned up.
-

- Login or register to post comments
Printer-friendly version- 2760 reads
PDF version
More in Tux Machines
- Highlights
- Front Page
- Latest Headlines
- Archive
- Recent comments
- All-Time Popular Stories
- Hot Topics
- New Members
digiKam 7.7.0 is released
After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release.
|
Dilution and Misuse of the "Linux" Brand
|
Samsung, Red Hat to Work on Linux Drivers for Future Tech
The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world.
Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility.
|
today's howtos
|








.svg_.png)
Content (where original) is available under CC-BY-SA, copyrighted by original author/s.

Recent comments
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago