|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
[Solved] trying to install pecl without having it prompt for a yes m
I want to install pecl from a single command without it asking me for a response of "yes" or "no" to finish the install... -------------------------------------------------------------------------- Code:
# pecl install pecl_http downloading pecl_http-1.7.0.tgz ... Starting to download pecl_http-1.7.0.tgz (173,979 bytes) .........................done: 173,979 bytes 71 source files, building running: phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 whether to enable cURL HTTP requests; specify libcurl directory [yes] : -------------------------------------------------------------------------- What can I do to give it a default answer of "YES" for all of the questions asked (a total of 3) within a single command... thanks for any help! ---------- Post updated at 07:05 PM ---------- Previous update was at 06:38 PM ---------- I think I have found the answer... Code:
printf "yes\n" | pecl install pecl_http Last edited by vbe; 10-06-2010 at 04:29 AM.. Reason: code tags |
| Sponsored Links | ||
|
|
#2
|
||||
|
||||
|
Thanks for keeping us informed..
|
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to install jdk 6u17 in a prompt-less script | mhart | Shell Programming and Scripting | 0 | 12-17-2009 11:19 AM |
| install macbook pro fedora10 ???((<<if can install, how to install? >> )) | kzBSD | Linux | 0 | 03-18-2009 02:57 AM |
| Solaris 10 install doesn't display Network Connectivity prompt page | sarahsi | Solaris | 3 | 08-30-2007 08:44 AM |
| Oracle 9i install: Error in invoking target install of makefile | chris2005 | HP-UX | 5 | 02-21-2007 08:45 AM |
|
|