tr replace 1

tr replace

#Just define the replacement 
tr [to_be_replace] [replacement] file.txt
#For example
tr a-z A-Z file.txt

Here is what the above code is Doing:
1. tr is the command
2. a-z is the range of characters to be replaced
3. A-Z is the range of characters to be replaced with
4. file.txt is the file name

Similar Posts