Biblioteca de cunoștințe

Linux Check Disk Space Command To View System Disk Usage Print

  • 0

Linux Check Disk Space Command To View System Disk Usage

Linux command to check disk space using:

  1. df command – Shows the amount of disk space used and available on Linux file systems.
  2. du command – Display the amount of disk space used by the specified files and for each subdirectory.
  3. btrfs fi df /device/ – Show disk space usage information for a btrfs based mount point/file system.

Linux check disk space with df command

  1. Open the terminal and type the following command to check disk space.
  2. The basic syntax for df is:
    df [options] [devices]
    Type:
  3. df
  4. df -H

Sample outputs:

Fig.01: linux check disk space with df command

 

Răspunsul a fost util?
Back