>_ linuxcommand.dev
Textverarbeitung

tr

Übersetzt oder löscht Zeichen.

Ubuntu CentOS Debian Arch SUSE Slackware Alpine Fedora
Verifiziert: 2025-09-09
Syntax
$tr [OPTIONEN] ZEICHENSET1 [ZEICHENSET2]
Beispiele
$echo 'abc' | tr 'a-z' 'A-Z'
$tr -d '\n' < datei.txt
Typische Anwendungsfälle
?
Standardverwendung
tr --help
Hinweis Für einfache Zeichenmanipulationen
Export