LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 12-07-2004, 11:09 AM   #1
sudhasmyle
Member
 
Registered: Nov 2004
Distribution: RedHat
Posts: 37

Rep: Reputation: 15
Interaction in shell script


Hi everyone,
I want to configure the PPPoE protocal. There are the command adsl-setup,adsl-connect,adsl-start & adsl-stop are there. My question is when i activate the adsl-setup
command it ask the username and interface and etc....
Is it possible to write a shell script to activate the 'adsl-setup' and give the information about what time it ask such as usrname and interface and DNS details from the "file". That file is i already edited and store the details in,
root
eth0
203.14.56.78
203.45.56.12 etc...,

Is there any shell command is there for interacting the shell script at run time.
 
Old 12-08-2004, 08:27 AM   #2
sudhasmyle
Member
 
Registered: Nov 2004
Distribution: RedHat
Posts: 37

Original Poster
Rep: Reputation: 15
Hi i find out the shell command to interact the shell commad is "expect" .But i still strucking with that one. Because i don't how to use it. any boudy know about that one. please help me. any pdf books are available send me the link. I try in this one in google.com. But i didn't get anything...
Atleast now any one help me?????
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell script inside shell script treotan Linux - General 4 02-19-2009 07:34 AM
Shell Scripting: Getting a pid and killing it via a shell script topcat Programming 15 10-28-2007 03:14 AM
shell script problem, want to use shell script auto update IP~! singying304 Programming 4 11-29-2005 06:32 PM
shell script interaction sudhasmyle Linux - Software 1 12-08-2004 04:34 PM
[SHELL SCRIPT] Write at the right of the shell window Creak Linux - General 2 04-02-2004 04:00 PM


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

Main Menu
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