<br><br><div class="gmail_quote">On Wed, Jun 29, 2011 at 7:14 AM, Nils Kassube <span dir="ltr"><<a href="mailto:kassube@gmx.net">kassube@gmx.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">amritpal pathak wrote:<br>
> I am making a script for my<br>
> project.In between there is need for  settings of configuration<br>
> files as per each user's needs. For example:<br>
>  users will edit the file to mention he/her own mobile number ,own<br>
> moblie model ,own database etc etc.<br>
> How can i do it in the script?<br>
<br>
</div>If by script you mean "bash script", you could use the echo and read<br>
commands to query the user. And for manipulating config files you could<br>
use e.g. sed if the config file is a text file. Please have a look at<br>
these URLs for more details:<br>
<br>
<<a href="http://www.gnu.org/software/bash/manual/html_node/index.html" target="_blank">http://www.gnu.org/software/bash/manual/html_node/index.html</a>><br>
<<a href="http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html" target="_blank">http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html</a>><br>
<<a href="http://tldp.org/LDP/abs/html/index.html" target="_blank">http://tldp.org/LDP/abs/html/index.html</a>><br>
<<a href="http://www.gnu.org/software/sed/manual/html_node/index.html" target="_blank">http://www.gnu.org/software/sed/manual/html_node/index.html</a>><br>
<br>
If you don't mean a bash script, please clarify which script language<br>
you are interested in.<br>
<br>
I dont know more about scripting.I just making a .sh file in gedit <a href="http://editor.is">editor.is</a> it bash scripting or linux shell scripting ?</blockquote><div><br></div><div>Thanks you for reply</div><div><br>
</div><div><a href="http://amritpalpathakgne.wordpress.com">amritpalpathakgne.wordpress.com</a> </div></div>