Problem in making a script
amritpal pathak
amritpalpathak1 at gmail.com
Wed Jun 29 11:22:41 UTC 2011
On Wed, Jun 29, 2011 at 7:14 AM, Nils Kassube <kassube at gmx.net> wrote:
> amritpal pathak wrote:
> > I am making a script for my
> > project.In between there is need for settings of configuration
> > files as per each user's needs. For example:
> > users will edit the file to mention he/her own mobile number ,own
> > moblie model ,own database etc etc.
> > How can i do it in the script?
>
> If by script you mean "bash script", you could use the echo and read
> commands to query the user. And for manipulating config files you could
> use e.g. sed if the config file is a text file. Please have a look at
> these URLs for more details:
>
> <http://www.gnu.org/software/bash/manual/html_node/index.html>
> <http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html>
> <http://tldp.org/LDP/abs/html/index.html>
> <http://www.gnu.org/software/sed/manual/html_node/index.html>
>
> If you don't mean a bash script, please clarify which script language
> you are interested in.
>
> I dont know more about scripting.I just making a .sh file in gedit
> editor.is it bash scripting or linux shell scripting ?
Thanks you for reply
amritpalpathakgne.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110629/f1e9909a/attachment.html>
More information about the ubuntu-users
mailing list