P
postcd
Hello,
i have command:
find . -name 'mysqlpwreset.php' -type f -print0 | xargs -0 sed -i 's|hereisthepassword|$newpw)|g'
the external mysqlpwreset.php file contains phrasse "hereisthepassword" ad i want it to be changed to the phrasse i set in my variable "$newpw"
but even i set the variable
its always added into that .php file as: $newpw not as content of that variable
Continue reading...
i have command:
find . -name 'mysqlpwreset.php' -type f -print0 | xargs -0 sed -i 's|hereisthepassword|$newpw)|g'
the external mysqlpwreset.php file contains phrasse "hereisthepassword" ad i want it to be changed to the phrasse i set in my variable "$newpw"
but even i set the variable
its always added into that .php file as: $newpw not as content of that variable
Continue reading...