I want to replace a word with another word in a text file.
my code :
cat file.txt | tr ali ALI
but I get this :
it replace all 'a's to 'A' , and 'l's to 'L' and 'i's to 'I' .
is there any way to replace just 'ali' to 'ALI' ?