Replacing of word

Hi all,

I wanted to replace one word with another word pl help me to solve the same.

example:-

I wanted to replace RXOTX with RXOTRX in a perticuler file with hole.

Regards,
Ramesh

sed -i 's/RXOTX /RXOTRX /' filename

Syntax for sed depends on unix version.

In most unixes this syntax will change every occurance of one string to another string.

sed -e "s/RXOTX/RXOTRX/g" filename