Festplatte & SpeicherCLI Manual
$free
Display total amount of free and used physical memory and swap.
BefehlssyntaxPOSIX Standard
free [OPTIONS]Live im interaktiven Terminal ausprobieren
Client-seitige Simulation ohne Installation mit sofortigem Feedback.
bash — terminal
AST Sandbox (Free)
Ü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 / Option | Description |
|---|---|
| -h, --human | Show memory values in human-readable units (e.g., 8Gi, 512Mi). |
| -m, --mega | Display amounts in megabytes. |
| -g, --giga | Display amounts in gigabytes. |
Praktische Anwendungsbeispiele
#1Check human-readable RAM usage
free -hPrints RAM and swap memory in GB and MB.
Verwandte Linux-Befehle
$topSystem & Prozesse
Display real-time Linux processes and system resource utilization.
$htopSystem & Prozesse
Interactive process viewer with colorful CPU meters and mouse support.
$dfFestplatte & Speicher
Report file system disk space usage across mounted storage partitions.
$duFestplatte & Speicher
Estimate file and directory space usage.