Below is solution to replace Specific word.
Suppose we have to replace word "four " by "three".
root@root [~]# cat file
one two four
one two four
one two four
one two four
one two four
root@root [~]# replace four three -- file
file converted
root@root [~]# cat file
one two three
one two three
one two three
one two three
one two three
And the word four get replaced by three.
Regards
Sagar.






Reply With Quote
Bookmarks