How do I make a UNIX-based script work?
ActivePerl faq5 - Implementation QuirksFirst, make extra-super sure that you are using the script or module in the way it was intended. Many of us are quick to blame the module, the operating system, or the interpreter when, in reality, it is our own code that isn't working right. If you're sure that it's not a problem in your code, the best way to make a UNIX-based script work is to desk-check it before running it. Look for some of the following things: Calls to functions unimplemented in ActivePerl.
Related QuestionsHow do I make a Python script executable on Unix?
Python Library and Extension FAQYou need to do two things: the script file's mode must be executable and the first line must begin with #! followed by the path of the Python interpreter. The second can be done in a number of ways. The most straightforward way is to write #!/usr/local/bin/python as the very first line of your file, using the pathname for where the Python interpreter is installed on your platform.
Related QuestionsPython Frequently Asked QuestionsYou need to do two things: the script file's mode must be executable (include the 'x' bit), and the first line must begin with #! followed by the pathname for the Python interpreter. The second can be done in a number of way. The most straightforward way is to write #!/usr/local/bin/python as the very first line of your file - or whatever the pathname is where the python interpreter is installed on your platform.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 QuestionsBack to top What are the differences between Windows-based and UNIX-based platforms?
EarthLink® Web Hosting & E-Commerce - Frequently Asked Q...For detailed information on choosing between these two operating systems, please visit our Windows or UNIX page. For a quick look at which features and programs each platform supports, please consult the chart below:
Related QuestionsHow do I run script files under UNIX?
Borland AppCenter Developer Support PageIf you are running script files rather than directly running executables under UNIX, you should ensure that your script files do the following: Each script should launch only a single executable. (It may launch multiple executables, but only the required one will be monitored by AppCenter.) If I create a Virtual Computer then it seems that the virtual computer is always talking to the first Agent in the list of agents of this computer (usually _SYSTEM).
Related QuestionsHow can I make a Webmin user always use the same password as Unix?
WebminIn the Webmin Users module, click on the user that you want to symchronize with Unix and set his Password option to Unix Authentication. If PAM is not used on your operating system, the first two steps can be skipped. Webmin will instead read the /etc/passwd or /etc/shadow file directly to authenticate users who are using the Unix Authentication password mode.
Related QuestionsWhich unix machine should I do my work on?
Math Department Computing FAQFor large and/or long jobs, chiller and cloak, our dual-processor Linux boxes. For small jobs and day-to-day computing, stokes or cantor, both Suns.
Related QuestionsWill this script work on an ISAPI PHP based webserver and work with a MS SQL Database ?
Online Booking Manager 2.2 -::- Frequently Asked Questions, ...It will work on an isapi php based webserver but it will not work with a MS SQL server database, it requires a MySQL server database.
Related QuestionsIs the Domain registration tool UNIX/Perl based? Does it work on a Windows 2000 platform?
Reseller FAQ's - Support PortalIt is a Perl based tool, but it will work under windows using ActivePerl (a free plug-in for Microsoft webserver software).
Related QuestionsShould I use a Unix (Linux, SunOS, BSD, etc.) or Windows NT (Windows 2000) based server?
Web Hosting Universe -hosting FAQ host frequently asked ques...Which operating system you decide to use should depend on what features you need. For example, if you are already using IIS, ASP, VBScript, Windows Media, Microsoft Access, Microsoft SQL Server, or Visual InterDev, and you don't have the time to learn Unix-based solutions, you'll have to choose a Windows NT or Windows 2000-based host. Just because your desktop is Windows-based doesn't mean you should use a Windows host.
Related QuestionsCan Elma be run on a unix-based system?
Moposite - Information - Help - FAQElma was programmed to Win98. It has a bug which affects the lagging under XP. The bug is fixed in the Elma 1.2 version. To get even smoother Elma you need to tweak your system a bit more. Read more on the Tweaking page.
Related QuestionsAre your servers Unix-, or Windows-based?
HostGator Peer Support Forums - FAQ: Pre-Sales QuestionsOur servers operate on Red Hat Linux version 9.0. We will announce news of our Windows hosting plans in the near future.
Related QuestionsHow do I make UNC paths work the same on Windows and Unix?
Rush - TD FAQThe trick is to tweak the unix side, using symbolic links or making mount directories that simulate the windows path layout. The best thing is to create the mounts to match the UNC paths. On my network, windows machines see the server's disk as //tahoe/jobs. On the unix machines, I can organize my mount points this way: Or, if your mounts are in a directory like /mnt/jobs and you don't want to change that, you can work around easily enough with symbolic link(s) to make UNC paths work under unix.
Related QuestionsWhy 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 QuestionsWhy 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 QuestionsWhich language QEngine script is based on?
AdventNet QEngine - Frequently Asked QuestionsQEngine script is based on Jython Scripting Language. Jython is an implementation of the high-level, dynamic, object-oriented language Python? written in 100% Pure Java, and seamlessly?? integrated with the Java platform. It thus allows you to run Python on any Java platform. The link below will help to customize the QEngine script for your scenarios. http://www.jython.org/Project/index.html
Related QuestionsCan I sell a script based on _______?
Christy Marx: scriptwriter and game designer: writing FAQ pa...You absolutely CANNOT go around pitching an idea or script based on someone else's property unless you have optioned or licensed the rights, or unless you're pitching directly to the copyright holder. Period. That's the cold, hard reality of it. Yes, you could write a script based on, say, "Hopping Drongo", then file off the serial numbers and try to sell it. In other words, change the identifiable names and come up with your own new names.
Related QuestionsHow Do I Make The Script Work on HTML Pages?
ExoLinks Frequently Asked Questions (FAQ)If your webpages are in the .HTML or .HTM format you will need to tell your server to process PHP on these pages. This can be done using an .htaccess file. In case you don't know how to do this, all you need to do is to create an file named ".htaccess" (without any other extension) and place the following code within it. Once you've done that, upload this file via FTP into the same directory where your link page exists.
Related QuestionsWhy can't I get JPEG to work on my Digital Alpha/UNIX (4.0d) box?
GIMP - DocumentationEven the jpeg libraries at the GIMP web site may not work for all versions. If their jpeg-shared-6.a.tar.gz package doesn't work for you, try:
Related QuestionsHow do I work with my unix files from the PC side?
Math Department Computing FAQA long time ago, samba 2.x was installed on the unix side. It allowed one to easily map unix files as a PC drive (usually s: for stokes, the machine it ran on). It worked really well, I didn't have to be involved in any way, it was fast enough, it was easy and everyone was happy. stokes, however, was starting to show its age. We then bought a couple of big honkin' dual-processor linux boxes. The idea was that samba would be moved to one of the boxes.
Related QuestionsHow do I make a script?
mIRC: Frequently Asked Questions about mIRC - Section 6First of all you have to make sure you really need a script. Scripting is not difficult but if you simply want to auto-op your friends on your IRC channel, or if you want to ban or ignore an annoying person, mIRC is perfectly equipped already with functions that do exactly what you want. In this case read the section about the auto-op, protect and ignore lists.
Related QuestionsHow can I get my script's output without Apache buffering it? Why doesn't my server push work?
Apache Server Frequently Asked Questionsof 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 QuestionsShould I use a Unix or Windows-based server?
Hosting FAQA major advantage is that many commercial and freeware server applications are designed for use with Unix machines. The fact that Unix is open-source (ie. the source code is freely available) means that it is constantly being developed, updated and any bugs discovered are fixed in a short space of time. The most significant appeal that Unix systems have is their reliability. The operating system is able to squeeze a lot more out of a lot less resources.
Related QuestionsWeb hosting and web design solutions for online personal and...Your decision should be based on what type of features you need. If you’re using IIS, ASP, VBScript, Windows Media, Microsoft SQL Server and don’t have any knowledge of Unix based solutions, you would be looking to use a Windows based server. Although Linux based systems are most common among web hosts, as they provide many shared-hosting features, have a good history of stability and performance.Related Questions
Web Hosting ResourcesYour decision should be based on what type of features you need. If you're using IIS, ASP, VBScript, Windows Media, Microsoft SQL Server and don't have any knowledge of Unix based solutions, you would be looking to use a Windows based server. Although Linux based systems are most common among web hosts, as they provide many shared-hosting features, have a good history of stability and performance, and most importantly, Apache and Linux are free.Related Questions
What are the differences between Windows and UNIX-based platforms?
WEB HOSTING - SnowyNetFor a quick look at which features and programs each platform supports, please consult the chart below:
Related QuestionsDo you provide Unix based web hosting?
Mp3 PortalYes, we provide Linux hosting through Plesk 7.0 and Plesk on Apache Server. Linux is based on Unix, hence they are very similar.
Related QuestionsAre your servers based on Windows or UNIX platforms?
Untitled PageOur offer is 100% free. In addition to this, we will also pay the entire external fee to the domain name registrar. Buying your domain name directly from the registrars may cost you up to £60 per year. We will pay this for you, with each new web hosting account.
Related Questions