Whats the simplest way to do a find and replace for a given input string, say "abc", and replace with another string, say "XYZ" - the the file, /tmp/file.txt?
I am wrtting an app and using IronPython to execute commands through SSH - but I dont know unix that well and dont know what I am looking for.
I have heard that Bash script, apart from being a command line interface, can be a very powerful scripting language. So, if this is true, I assume you can perform actions like this.
Can I do it with bash, and whats the simplest (one line) script to do it?