I am using following command to replace yyyymmdd to YYYYMMDDHH24MISS in my file:
sed -e 's/\('yyyymmdd'\)/\('YYYYMMDDHH24MISS'\)/g' filename
After I run the command in PuTTY, it displays the file with replaced values, but they do not reflect if I more the file.
I tried using -i , but it says
sed: illegal option -- i
Can someone please suggest how do I replace the given code in multiple files and save them?