Problem in making a script

Amrit Pal Pathak amritpalpathak1 at
Mon Jul 18 16:29:35 UTC 2011

On Mon, Jul 18, 2011 at 12:11 PM, Nils Kassube <kassube at> wrote:

> Amrit Pal Pathak wrote:
> > I have problem in following code.Here i am replacing a user's enter
> > password with 53 number line of a file.It is replacing with no
> > problem.But the part "$db_password" is not being replaced in file
> > ,only password(suppose=>123) is placed at line number 53 .
> If I'm guessing right, you need a line like this in the config file:
> $db_password = secret
    Yes you are right sir as always.

> I was doing wrong .Now i did as following and it worked

         echo "$""db_password = $pw" >> "$TOKKK"

    Thanks for reply
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ubuntu-users mailing list