To replace all occurrences of 'she' with 'he' and 'hi' with 'hello'

$ sed -i ‘s/she/he/g’ filename |   sed -i ‘s/hi/hello/g ’ filename 

Post a Comment

If you have any doubts, Please let me know
Thanks!

Previous Post Next Post