I am writing some bash script from wchich I need to replace some text in another file I need to find and replace the following text in myfile
$conf['extra_login_security'] = true;
with:
$conf['extra_login_security'] = false;
so I tried the following:
sed -i 's_extra_login_security'] = true_extra_login_security'] = false_g' myfile.php
but it did not work I am getting the following error:
sed: -e expression # 1, character 15: unknown option for the `s' command
can you help me and tell what I am doing wrong?