Linux tr Command Usage and Example

By Steven Vona
The tr command is designed to translate, squeeze and/or delete characters in standard input (stdin) and write them to standard output (stdout). It is often used on the command line for string manipulation in a pipeline.
In this article we will demonstrate the basic usage of the tr command with practical examples. We also take a VERY interesting and in-depth look at two oddly named options, complement and truncate.

Comments