Search 5,000,000+ questions and answers.

Frequently Asked Questions

Why doesn't my shell script work?

The Cygwin FAQ
There are two basic problems you might run into. One is the fact that /bin/sh is really ash, and is missing some features you might expect in /bin/sh, particularly if you are used to /bin/sh actually being bash (Linux) or ksh (Tru64). For example: Or, it could be a permission problem, and Cygwin doesn't understand that your script is executable. Because 'chmod' may not work (see FAQ entry above), Cygwin must read the contents of files to determine if they are executable.
Related Questions

Cygwin FAQ
There are two basic problems you might run into. One is the fact that /bin/sh is really bash (prior to bash-3.0-6, /bin/sh was ash). and is missing some features you might expect in /bin/sh, particularly if you are used to /bin/sh actually being zsh (MacOS X "Panther") or ksh (Tru64). Or, it could be a permission problem, and Cygwin doesn't understand that your script is executable.
Related Questions

Why doesn't Expect work when called from a setuid script?

Expect FAQ (Frequently Asked Questions)
From: Rusty Wright <rusty@socrates.berkeley.edu> >I'm trying to run a setuid shell script that calls expect. When >expect does a spawn it gets the error message: > > open(slave pty): bad file number > parent: sync byte write: broken pipe > >Here are the version numbers: > > expect: expect-5.28 > tcl: tcl8.0.3 > OS: SunOS 5.6 (sparc) > >Expect and tcl were compiled with gcc-2.8.1.
Related Questions

How can I get my script's output without Apache buffering it? Why doesn't my server push work?

Apache Server Frequently Asked Questions
of Apache 1.3, CGI scripts are essentially not buffered. Every time your script does a "flush" to output data, that data gets relayed on to the client. Some scripting languages, for example Perl, have their own buffering for output - this can be disabled by setting the $| special variable to 1. Of course this does increase the overall number of packets being transmitted, which can result in a sense of slowness for the end user. Prior to 1.
Related Questions

system() / shell_exec() / etc. doesn't work! Why not?

Hosting FAQ - OPU Wiki
This is a security precaution to prevent scripts from gaining unauthorized access to other parts of the system. In the future we may allow other programs to be executed (for example, MediaWiki uses texml for it's math symbols) but currently it is not possible to execute programs. Sockets and other types of remote connections are disabled because they use extra system resources and are generally unnecessary for most users.
Related Questions

Why doesn't my cgi script work?

Web Hosting Support FAQ's
The most common reason for this to happen is that the scripts permissions haven't been set properly. Make sure that the permissions of the script file and the directory tree (relative to the server's document root) are set no higher than 755, or user: read, write, execute; group: read, execute; other: read, execute (-rwxr-xr-x). Web Hosting | Web Hosting Support | Contact | Linking | Site Map | Acceptable Use | Privacy Policy | Service Agreement
Related Questions

How do I make a shell script?

STWing Computing Services
All these files are located in the /projects/stwing-computing-faq directory. I suggest typing 'cd /projects/stwing-computing-faq' and then 'ls -la' to see everything that is availiable. terminal configuration files (.terminfo/*) - some config files to make the above functions work properly note: All of these files are offered as-is, they should be considered as a guide only and depending on your configuration may not work without modification, use them at your own risk.
Related Questions

What if it doesn't work?

The Society for Clinical & Medical Hair Removal, Inc. | ...
If the area being treated does not respond as described in the consultation and if there are other arising health problems, (ie., irregular periods, weight gain, etc.) discuss this with the electrologist so a medical treatment plan can be implemented if necessary.
Related Questions

Lasik laser eye surgery from Ultralase: Frequently asked que...
After treatment, the eyes go through a natural recovery period. For 97% of patients, the results reach the target standard of vision - or better. A few people do not quite achieve the desired standard of vision - for these people, a re-treatment can be one option. Remember all your aftercare is backed up by our unique Lifetime Care Guarantee.
Related Questions

Frequently Asked Questions About Molluscum and ZymaDerm
We can't guarantee that ZymaDerm will work for you, but we do offer a 6 month money back guarantee to help assure your satisfaction. If you are not happy let us know and we will give you a refund up to 6 months from the date of purchase. No conditions, no exceptions. (Please don't cheat. Thank you).
Related Questions

How does the provided script work?

Internet Explorer 7 Blocker Toolkit: Frequently Asked Questi...
The script accepts one of two command line options (block and unblock) and creates or removes the registry key that controls whether Internet Explorer 7 is offered automatically to the system (via Automatic Updates or the "Express" install option for manual Windows Update/Microsoft Update site scans).
Related Questions

Why does zsh not work in an Emacs shell mode any more?

Z-Shell Frequently-Asked Questions
Emacs 19.29 or thereabouts stopped using a terminal type of "emacs" in shell buffers, and instead sets it to "dumb". Zsh only kicks in its special I'm-inside-emacs initialization when the terminal type is "emacs". Probably the most reliable way of dealing with this is to look for the environment variable $EMACS, which is set to t in Emacs' shell mode. Putting [[ $EMACS = t ]] && unsetopt zle in your .zshrc should be sufficient.
Related Questions

Why doesn't the snmptt-init.d script work with Debian?

SNMP Trap Translator v1.2
The snmptt-init.d script provided with SNMPTT was written for Mandrake and RedHat. To make the script work with Debian without requiring any re-writing of the script, copy /etc/init.d/skeleton to /etc/init.d/functions. You must have the UCD-SNMP / Net-SNMP Perl module installed and working, and must ensure UCD-SNMP / Net-SNMP is configured correctly with all the required MIBS. use SNMP; If you get an error after typing 'use SNMP', then the module is not installed correctly.
Related Questions

Why doesn't my CGI/PHP/MySQL script work?

Granite Belt Hosting FAQ
There are many reasons for CGI or PHP scripts not running, first try consulting the documentation that came with the script.If dose not help try the support forum for the software or contact us for a small fee we will have a look.
Related Questions

Unlimited-Space.com :: FAQ
We do allow you to run CGI scripts from our servers, but we do not offer technical support for them. Try consulting the documentation that came with the script.
Related Questions

When I transfer a script to my robot, it doesn't work like I thought it would. Why is this?

Frequently Asked Questions
Try turning off his vision system. The Robosapien V2 sees by emitting infrared light to try and determine what is nearby and to avoid obstacles. This infrared can interfere with infrared transmission devices like the one attached to your PC that is used by the software to control your robot and transfer scripts to the robot.
Related Questions

Why doesn't my COMM application login script work?

Zoom Telephonics: Zoom External V.34 Faxmodem
Why does my COMM application "hang" during startup? One possibility is that the response strings your modem and WinRPI are producing are different that what the application script writers expected. The response strings can be modified by changing the S registers settings in the "init string" for the application. (RPI-only modems would modify the responses with "WinRPI Enhancer").
Related Questions

How can I run an arbitrary Perl or shell script on all or selected incoming mail?

Procmail FAQ
The conditions, in their simplest form, are regular expressions to match against the header of each incoming mail message. Correction: Even simpler, you can leave out the condition lines completely if you want to do your action (in this case, run a shell script) unconditionally.
Related Questions

Can someone post the "Ghost in the Shell" script?

news.answers/anime/misc-faq
gt;Can someone please post the script for Ghost in the shell or tell me where I >can find it please. #!/bin/sh echo "Boo!" ######### ############# ### ### #### ### ############# #### Ben "a.h.bou fodder if I ever saw it" Cantrick -- Ben Cantrick | Yes, the AnimEigo BGC dubs still suck. BGC Nukem: http://www.dim.com/~mackys/bgcnukem.html If you want to ask for scripts of licensed anime movies, don't.
Related Questions

How can I convert my shell script to Perl?

Perl FAQ
Larry's standard answer is to send it through the shell to perl filter, otherwise known at tchrist@perl.com. Contrary to popular belief, Tom Christiansen isn't a real person. He is actually a highly advanced artificial intelligence experiment written by a graduate student at the University of Colorado. Some of the earlier tasks he was programmed to perform included: monitor comp.lang.perl.
Related Questions

Why is my shell script is giving me odd errors?

ACESgrid.org: FAQ
Check the shell setting you are using at the start of the script the same as the shell syntax you are using.
Related Questions

Why does my Expect script not work under inetd?

Expect FAQ (Frequently Asked Questions)
Yes, read Exploring Expect, Chapter 17 (Background Processing). In the section "Expect as a Daemon", there's a very thorough discussion of this problem and how to solve it. In short, there's no tty when you run a process from inetd. Echoing is controlled by the telnet protocol, so you must send and expect telnet protocol packets to solve the problem. Even knowing this, the actual implementation is very non-obvious which is why the book goes into it in such detail.
Related Questions

What should I do if a link doesn't work?

Better Diabetes Care - Frequently Asked Questions
Let us know, so we can fix it or remove the button. Go to the Contact Us section and click on "Comments/Broken Links." Introduction Overview & Background :: Needs: Priorities for Systems Change :: Framework: Assess Needs & Goals Evaluation: Measuring Change :: Toolbox: Links & Resources :: Forum: Feedback, Input & Comments
Related Questions

What if Flexcin doesn't work for me?

Flexcin.com
Flexcin comes with a 3-Bottle, 100% unconditional money back guaratee. If you are not completely satisfied with your results you may return the unused portion for a refund of the purchased price.
Related Questions

Why doesn't my password work for the forums?

BitWise IM - FAQ
Your BitWise password and your BitWise Forums password are separate entities; changing one will not change the other. Please be sure that you are using the correct password to log in.
Related Questions

What if chiropractic doesn't work?

Chiropractic Frequently Asked Questions
If we are talking about pain management, then we will refer you to other specialists who may be able to help you and co-manage your health, if that is what is decided. Most patients don't let their health get to that point, as they know the importance of regular chiropractic checkups. Remember, it is impossible to receive a specific chiropractic adjustment without a healing process occurring. Your health is our primary goal.
Related Questions

Got A Question? Ask Our Community!


More Questions >>

© Copyright 2007-2008 QueryCAT
About • Webmasters • Contact