This question already has an answer here:
- How can I replace a string in a file(s)? 8 answers
Is there a way to grep for a regular expression on an Ubuntu server and then find and replace it with another string? I am using the following command right now, but it doesn't account for actually changing the grepped string:
grep --recursive --ignore-case “string”
If I use awk or sed how would I write it to replace for instance "wavbyte" with "gitship" for all instances where "wavbyte" occurs for my entire server?