Online Linux Terminal Logo
OnlineLinuxTerminal
Festplatte & SpeicherCLI Manual

$free

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

BefehlssyntaxPOSIX Standard
free [OPTIONS]
Linux-Community2.4k Online

Tausche dich mit Linux-Nutzern aus, lerne Befehle und lade PDF-Cheatsheets herunter.

Live im interaktiven Terminal ausprobieren

Client-seitige Simulation ohne Installation mit sofortigem Feedback.

Im Vollbild-Terminal öffnen ↗
bash — terminal

Überblick & Funktionsweise

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

Wichtige Optionen und Flags

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

Praktische Anwendungsbeispiele

#1Check human-readable RAM usage

Prints RAM and swap memory in GB and MB.