Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-15-2005, 08:42 AM   #1
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.
linux prompt> ./linphonec
linphonec> c sip:john@

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
Senior Member
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

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



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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:54 PM.

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