Linux tr Command
What is Linux tr Command?
In this tutorial we learn how to use tr
command in Linux. tr
command is tr - translate or delete characters.
tr Syntax
tr [OPTION]... SET1 [SET2]
tr Examples
tr Command Manual / Help
We can use man
and info
command to see the manual page of tr
command. tr
command also have --help
option to show list of options.
To open man page for tr
command we can use command below. To exit man or info page you can press q
.
man tr
To open info page for tr
command we can use command below.
info tr
To open help page from tr
command we can run command below.
tr --help
Linux tr Command Source Code
You can find tr
command source code from the folowing repositories:
Related Linux Commands
You can read tutorials of related Linux commands below:
Summary
In this tutorial we learn how to use tr
in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.