>_ linuxcommand.dev
Text Processing

tr

Character translation utility.

Ubuntu CentOS Debian Arch SUSE Slackware Alpine Fedora
Verified: 2025-09-09
Syntax
$tr [OPTIONEN] SET1 [SET2]
Examples
$tr a-z A-Z
$tr -d '0-9'
Typical use cases
?
Standard usage
tr --help
Note Useful for case conversion and deletion.
Export