≡ Menu

UNIX TR Command

8 Linux TR Command Examples

tr is an UNIX utility for translating, or deleting, or squeezing repeated characters. It will read from STDIN and write to STDOUT. tr stands for translate. Syntax The syntax of tr command is: $ tr [OPTION] SET1 [SET2] Translation If both the SET1 and SET2 are specified and ‘-d’ OPTION is not specified, then tr [...]

{ 25 comments }