Useful sed command Jun 8, 2009 โข sed, unix, commands, shell script โข 35 words Posting this more as a reminder to myself than anything else, but, if you need to replace all instances of the word old in a file with the word new this command is really handy! sed -i 's/old/new/g' file.txt ยซ Best way to search a MySQL database? iPhone 3GS and o2 ยป