Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 12-07-2004, 10:09 AM   #1
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,
eth0 etc...,

Is there any shell command is there for interacting the shell script at run time.
Old 12-08-2004, 07:27 AM   #2
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 But i didn't get anything...
Atleast now any one help me?????


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 06:34 AM
Shell Scripting: Getting a pid and killing it via a shell script topcat Programming 15 10-28-2007 02:14 AM
shell script problem, want to use shell script auto update IP~! singying304 Programming 4 11-29-2005 05:32 PM
shell script interaction sudhasmyle Linux - Software 1 12-08-2004 03:34 PM
[SHELL SCRIPT] Write at the right of the shell window Creak Linux - General 2 04-02-2004 03:00 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:25 AM.

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