LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Blogs > Priyadivya
User Name
Password

Notices

Rate this Entry

Edit variable value in a file using linux script

Posted 03-01-2011 at 08:21 AM by Priyadivya

Hi

I have a property file.
There is a variable with value as below
a.home=/opt/tmp

I need to edit this to
a.home=/opt/amx

How can I do this. I have to do this by running a linux script.

Please help
Thanks
Priya
Posted in Uncategorized
Views 5492 Comments 3
« Prev     Main     Next »
Total Comments 3

Comments

  1. Old Comment
    Posted 03-01-2011 at 11:07 PM by TheIndependentAquarius TheIndependentAquarius is offline
  2. Old Comment
    Thanks, Anisha.

    Priyadivya, You'll almost zero answers in your blog.
    Posted 03-04-2011 at 09:33 AM by archtoad6 archtoad6 is offline
  3. Old Comment
    Quote:
    Originally Posted by archtoad6 View Comment
    Thanks, Anisha.
    You re welcome, I am worried about these newbies, but the root says he can't help
    Posted 03-04-2011 at 11:07 AM by TheIndependentAquarius TheIndependentAquarius is offline
 

  



All times are GMT -5. The time now is 05:12 PM.

Main Menu
Advertisement

Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration