df
df [OPCIÓN]... [ARCHIVO]...
Mostrar información sobre el sistema de archivos en el que reside cada ARCHIVO, o todos los sistemas de archivos por defecto.
Options
--help-
Mostrar información de ayuda.
--all,-a-
incluir sistemas de archivos ficticios
--block-size=<SIZE>,-B <SIZE>-
escalar tamaños por TAMAÑO antes de mostrarlos; ej. ‘-BM’ muestra tamaños en unidades de 1,048,576 bytes
--total-
producir un gran total
--human-readable,-h-
mostrar tamaños en formato legible por humanos (ej., 1K 234M 2G)
--si,-H-
igualmente, pero usar potencias de 1000 no 1024
--inodes,-i-
listar información de inodo en lugar de uso de bloque
-k-
como –block-size=1K
-m-
like –block-size=1M
--local,-l-
limitar listado a sistemas de archivos locales
--no-sync-
no invocar sync antes de obtener información de uso (por defecto)
--output=<FIELD_LIST>-
usar formato de salida definido por LISTA_CAMPO, o mostrar todos los campos si LISTA_CAMPO se omite.
--portability,-P-
usar el formato de salida POSIX
--sync-
invocar sync antes de obtener información de uso (solo no-windows)
--type=<TYPE>,-t <TYPE>-
limitar listado a sistemas de archivos de tipo TIPO
--print-type,-T-
mostrar tipo de sistema de archivos
--exclude-type=<TYPE>,-x <TYPE>-
limitar listado a sistemas de archivos no de tipo TIPO
Los valores mostrados están en unidades del primer TAMAÑO disponible de –block-size, y las variables de entorno DF_BLOCK_SIZE, BLOCK_SIZE y BLOCKSIZE. En otro caso, las unidades por defecto son 1024 bytes (o 512 si POSIXLY_CORRECT está establecido).
TAMAÑO es un entero y una unidad opcional (ejemplo: 10M es 1010241024). Las unidades son K, M, G, T, P, E, Z, Y (potencias de 1024) o KB, MB,… (potencias de 1000). Las unidades pueden estar en decimal, hexadecimal, octal o binario.
Examples
Display all filesystems and their disk usage:
df
Display all filesystems in human-readable form:
df {{[-h|--human-readable]}}
Display the filesystem containing the specified file or directory:
df {{path/to/file_or_directory}}
Include statistics on the number of free inodes:
df {{[-i|--inodes]}}
Display filesystems but exclude the specified types:
df {{[-x|--exclude-type]}} {{squashfs}} {{[-x|--exclude-type]}} {{tmpfs}}
Display filesystem types:
df {{[-T|--print-type]}}
The examples are provided by the tldr-pages project under the CC BY 4.0 License.
Please note that, as uutils is a work in progress, some examples might fail.