How Do I Use Tr in Linux?
Contents How Does Tr Work in Linux? Tr Is Short for “Translate”. It Is a Member of the Gnu Coreutils Package. Therefore, It’s Available in All Linux Distros...
Contents
How does tr work in Linux?
tr is short for “translate”. It is a member of the GNU coreutils package. Therefore, it’s available in all Linux distros. The tr command reads a byte stream from standard input (stdin), translates or deletes characters, then writes the result to the standard output (stdout).
What does the tr command do?
tr is a command-line utility in Linux and Unix systems that translates, deletes, and squeezes characters from the standard input and writes the result to the standard output.