What is the easiest way to replace text in a text file using Shell Script instead of going into vi editor to do that?
I am trying to replace all “1234” to “4321” in a text file.