>_ linuxcommand.dev
Startseite printf
Shell

printf

Formatierte Ausgabe

Ubuntu CentOS Debian SUSE Fedora RHEL Arch Alpine macOS
Verifiziert: 2026-03-04
Syntax
$printf <format> [arguments]
Beispiele
$printf "Hello %s " World
$printf "%d + %d = %d " 2 3 5
$printf "%10s" text
$printf "%0.2f " 3.14159
Typische Anwendungsfälle
?
Standardverwendung
printf --help
Hinweis C-ähnliche formatierte Ausgabe.
Export