I’m a noob at bash need to replace the mypassword part of this line in a file
"rpc-password": mypassword
with mynewpassword
I tried
perl -pi -e "s,PASSWORD,${password},g" "${user_conf}"
but it dosen’t seem to do anything 🙁
I can use anything that will work inside a bash script, it dosen’t have to be bash or perl.
will work