Assume you wanted to add the text “mytext” to a file if it doesn’t exist: -i writes the output to […]
Tag: sed
Replace text in file with Sed terminal
Assume you wanted to replace “abc” with “def” in a file, you can do so using sed as follows: -i […]