>_ linuxcommand.dev
Startseite printf
Shell

printf

Formatierte Ausgabe

Syntax
$printf <format> [arguments]
Beispiele
Beispiele
$printf "Hello %s " World
Beispiele
$printf "%d + %d = %d " 2 3 5
Beispiele
$printf "%10s" text
Beispiele
$printf "%0.2f " 3.14159
Siehe auch
Alternativen
Typische Anwendungsfälle
Formatierte Berichte
Skripte mit Ausgaben
Daten formatieren
Hinweis C-ähnliche formatierte Ausgabe.
Export