-h, --human-readable
Print sizes in powers of 1024 (e.g., 1023M).
An option of dfx.
Usage
dfx -h [FILE]...
dfx --human-readable [FILE]...Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-h | --human-readable | none | print sizes in powers of 1024 (e.g., 1023M) |
Examples
Your laptop warned that the disk is almost full: see every volume's usage as a bar, the full ones in red
dfx -hSee at a glance how full every disk is
dfx -hFilesystem Size Used Avail Use% Mounted on
/dev/nvme0n1p2 469G 301G 145G 68% /
/dev/nvme0n1p1 511M 6.1M 505M 2% /boot/efi
/dev/sda1 1.8T 1.6T 163G 91% /mnt/backupBefore a 20 GB download, check the free space where it will land
dfx -h ~/DownloadsFilesystem Size Used Avail Use% Mounted on
/dev/nvme0n1p2 469G 301G 145G 68% /Show only real local disks, with their file system types
dfx -hlTFilesystem Type Size Used Avail Use% Mounted on
/dev/nvme0n1p2 ext4 469G 301G 145G 68% /Total the space across all local disks
dfx -hl --totalCheck only the network shares
dfx -h -t nfs -t cifsLeave temporary file systems out of the report
dfx -h -x tmpfs -x devtmpfsHelp in the terminal
gnux help dfx --human-readable