How to use sed to find and replace text in files in Linux / Unix shellMay 27, 2017, 06:00 (0 Talkback[s])
(Other stories by Anonymous)
I am a new Linux user. I wanted to find the text called 'foo' and replaced to 'bar' in the file named 'hosts.txt.' How do I use the sed command to find and replace on Linux or UNIX-like system?
0 Talkback[s] (click to add your comment)