Online Linux Terminal Logo
OnlineLinuxTerminal
Диск и памятьCLI Manual

$df

Report file system disk space usage across mounted storage partitions.

Синтаксис командыPOSIX Standard
df [OPTIONS] [FILE...]
Сообщество Linux2.4k Онлайн

Общайтесь с пользователями Linux, учите команды и скачивайте шпаргалки.

Попробуйте в интерактивной песочнице

Клиентская симуляция без установки с мгновенным результатом.

Открыть в полноэкранном терминале ↗
bash — terminal

Обзор и принцип работы

`df` (Disk Free) analyzes mounted filesystems to display total disk capacity, used space, available free space, and mount points. It is the first command sysadmins run when encountering "No space left on device" errors.

Основные флаги и параметры команды

Flag / OptionDescription
-h, --human-readablePrint sizes in human-readable powers of 1024 (e.g., 10G, 500M).
-T, --print-typeInclude filesystem type column (ext4, xfs, btrfs, tmpfs).
-i, --inodesDisplay inode usage statistics instead of block usage.

Практические примеры использования

#1Check human-readable disk space

Displays disk usage for all mounted partitions with readable GB/MB units.