Because I suck at bash
Replace Alice with Bob in all files in directory *
sed -i 's/Alice/Bob/g' *
sed is the Stream EDitor command tool which can be used to manipulate file contents (among other things)-i is the option for edit file in place. Without this a new file is generated as the result of the command.
-i_backup, will make backup files in case you need to undo changes.s/Alice/Bob/g is the substitute command that replaces all instances of Alice with Bob
s is the substitute command/ is the separator between the different command fragments. You can use other special characters as separators if neededAlice is the search term. This can also be a regexBob is the replacement. This can also be a regexg is regex for global, meaning replace all instances. Omit for only replacing the first occurrence* is the file(s) to affect.