title: Modify strings in executable with GDB
body: <p>I have an ELF file that has certain strings in it that I would like to modify (they are paths to configuration directories). <a href="https://stackoverflow.com/a/19899814/1953537">This answer</a> to <a href="https://stackoverflow.com/q/19895035/1953537">this question</a> says something about running <code>gdb --write &lt;path_to_executable&gt;</code> to modify a string in <code>&lt;path_to_executable&gt;</code>, but does not go into further detail. What are the other things that I need to do with that command to accomplish my goal?</p>