tr Linux Command
Translates, deletes, or squeezes characters from standard input.
What does tr do?
Translates, deletes, or squeezes characters from standard input.
Syntax
tr [options] set1 set2Practical example
echo 'hello' | tr 'a-z' 'A-Z'Related Search Commands
cutExtracts specific columns/fields from each line of a file.
xargsBuilds and executes command lines from standard input (useful with pipes).
uniqReports or filters out repeated lines in a sorted file.
findSearches for files and directories in a directory hierarchy by name, type, size, etc.
sortSorts lines of text files alphabetically or numerically.
grepSearches for patterns (text or regex) inside files and prints matching lines.