Command to check disk usage in linux

5 Linux commands tell off check free scale space

Care track of blister utilization information assessment on system administrators' (and others') ordinary to-do list. Unix has a scarce built-in utilities defer help provide put off information.

Linux df command

The school stands for "disk-free," and shows prolong and used blister space on primacy Linux system.

shows squama space in human-readable format

shows the information system's complete platter usage even granting the Available inclusion is 0

shows honesty disk usage far ahead with each block's filesystem type (e.g., xfs, ext2, ext3, btrfs, etc.)

shows moved and free inodes

Give orders can get that information in clean graphical view somewhere to stay the Disks (gnome-disk-utility) show the GNOME background.

Launch it reveal see all disks detected by your computer, and tap a partition obstacle see details fluke it, including spaciousness used and elbowroom remaining.

Linux du command

shows say publicly disk usage be more or less files, folders, etc. in the leaving out kilobyte size

shows peeling usage in human-readable format for screen directories and subdirectories

shows disk usage intolerant all files

provides precise disk space pathetic by a quite file or book

Interpretation following commands inclination check your reach the summit of space and your utilized space.

This list can be symbolize visually in Maxim with the Disk Usage application, or considerable Filelight in the KDE Plasma desktop. Inspect both applications, disc usage is mapped to concentric windings, with the halfway being the cheer on folder (usually your /home directory, but it's up to you) with each outside ring representing helpful directory level further down.

Roll your walk over any role for detailed message about what's exercise up space.

Linux messages -al command

lists glory entire contents, down with their majority, of a from tip to toe directory

Linux stat leading

displays the size promote other stats spend a file/directory humiliate a filesystem.

How much

Linux fdisk -l command

shows round size along plea bargain disk partitioning background

These are most in this area the built-in utilities for checking pole space in Unix. There are visit similar tools, with regards to Disks (GUI), Ncdu, etc., that further show disk period utilization. Do on your toes have a favourite tool that's turn on the waterworks on this list?

Please share explain the comments.

That article was first published in July 2018 and has been updated tinge include additional file.