Command-line Basics: Analyzing Disk Usage

1 · · May 11, 2019, midnight
If you’ve ever ran out of disk space, you know how terribly painful it can be. Applications will stop opening, indexing services crawl. If you have a swap file or partition configured, it will start to shred. Working with a remote server can be even more painful, especially if you don’t have any GUI monitoring services running. Fortunately, we can get everything we need from the command-line using commands like df and du. Getting Started This article will use the commands df and du to analyze di...