The command works to me. What error are you getting? Note this is going to show the replacement in the screen; if you want to replace in place, say sed -i.bak ... so that the original will be replaced and you will also have a safety copy with a .bak extension
– fedorquiOct 09 '15 at 11:47
sed -i.bak ...
so that the original will be replaced and you will also have a safety copy with a .bak extension – fedorqui Oct 09 '15 at 11:47