Online Linux Terminal Logo
OnlineLinuxTerminal
Disco y almacenamientoCLI Manual

$free

Display total amount of free and used physical memory and swap.

Sintaxis del comandoPOSIX Standard
free [OPTIONS]
Comunidad Linux2.4k En línea

Chatea con usuarios de Linux, aprende comandos y descarga guías PDF.

Prueba en vivo en la terminal interactiva

Simulación del lado del cliente sin instalación y con respuesta inmediata.

Abrir en terminal de pantalla completa ↗
bash — terminal

Descripción general y funcionamiento

`free` provides an instant summary of system RAM and Swap memory utilization. It reports total, used, free, shared, buffer/cache, and available memory.

Opciones y banderas comunes

Flag / OptionDescription
-h, --humanShow memory values in human-readable units (e.g., 8Gi, 512Mi).
-m, --megaDisplay amounts in megabytes.
-g, --gigaDisplay amounts in gigabytes.

Ejemplos prácticos del mundo real

#1Check human-readable RAM usage

Prints RAM and swap memory in GB and MB.