How Do You Check What Is Using Your Disk Space in Linux?
One thing that can catch you out in Linux is a drive gradually filling up without it being obvious what's using the space.A simple command I've been using is:
df -h
That gives a quick overview of the drives and filesystems and shows how much space is used and available.
If one is getting full, you can then start looking at which directories are actually using the space rather than deleting things at random.
I'm still learning the different Linux tools for this, so I'm interested in what everyone else uses.
What's your preferred way of finding what's taking up disk space on Linux?