Replace your text from a file

In Unix, basically you could easily replace all of the specific text to another text without using the editor.

By using replace command, you could replace your text within seconds.

The structure of the replace command will be as below.

replace old_text new_text — file


replace — /var/named/

with the command above, the IP of will change to for file /var/named/