Answers for "tr command in unix"

1

tr command

tr command replaces input chars for respective translated chars. Example:
echo 'dcba' > file.txt
tr 'abcd' '1234' < file.txt
4321
Posted by: Guest on November-10-2020
0

tr command in unix

$ tr -d "hello" <  newfile.txt
Posted by: Guest on March-06-2021

Browse Popular Code Answers by Language