LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-15-2005, 08:42 AM   #1
okeyla
Member
 
Registered: Nov 2004
Posts: 47

Rep: Reputation: 15
a script run through a shell program...


How can i run a script of program without doing step by step
of typing many words?

Take linphonec as an example ,
it's a console mode voip program,
we could ONLY order command after entering its shell.
i.e.,
linux prompt> ./linphonec
linphonec> c sip:john@1.2.3.4

May i just write a bash script doing all of it?

===
someone recommand to use "mkfifo (pipe)",
but how? ( I tried but failed... )
Who could give me an example???

Thanks a lot!
 
Old 09-15-2005, 10:06 AM   #2
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
I think "expect" was created for exactly this kind of situation.

Yves.
 
  


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
Creating a shell script to run Java program paultaylor Programming 7 11-12-2004 03:11 PM
Shell script to run pl/sql script. colly Linux - General 1 09-09-2004 06:49 AM
Run interactive program in shell escargot22026 Programming 4 08-14-2004 11:59 PM
how to run a shell script type program redragon7964 Linux - Newbie 1 04-06-2004 02:03 AM
run shell script in c program u4u Linux - General 1 02-14-2004 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:20 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
Open Source Consulting | Domain Registration