Google Answers Logo
View Question
 
Q: Executing a Script in my Domain ( Answered,   2 Comments )
Question  
Subject: Executing a Script in my Domain
Category: Computers > Internet
Asked by: bbv91258-ga
List Price: $3.50
Posted: 07 Nov 2002 10:00 PST
Expires: 07 Dec 2002 10:00 PST
Question ID: 101272
What is the best way to execute a script in my domain name.  For
example I want to execute a file called config.pl in one of my
directories that is on my domain.  After I execute this file it is
suppose to come up with a menu where I can select a choice.  So what
software or method can I use so that I can execute this file and also
type in other commands after it is executed?
Thanks

Request for Question Clarification by hammer-ga on 07 Nov 2002 10:42 PST
Are you trying to do this from a command line or are you trying to
build a web page that does this? Do you have any programming
experience?

Clarification of Question by bbv91258-ga on 07 Nov 2002 10:58 PST
I am trying to get to a command line and execute this file.

Request for Question Clarification by hammer-ga on 07 Nov 2002 11:06 PST
Are you able to get to a command line on the server where config.pl lives?
Answer  
Subject: Re: Executing a Script in my Domain
Answered By: hammer-ga on 07 Nov 2002 11:20 PST
 
First, you need to get to a command line on your domain host.
1. Open a command prompt on your computer. The method of doing this
depends on your operating system. For example, on Windows 2000:
Start/Programs/Accessories/Command Prompt

2. Attempt a telnet connection to your domain host by typing:
telnet www.your-domain.com

Substitute your domain name for "your-domain". You will need a login
and password. The server administrator can provide you with this. If
the connection is refused, contact your server administrator to see if
telnet is permitted.

3. Once you are logged in, you will be at a telnet command prompt.
Your commands will go to the server. Config.pl is probably a Perl
script. To see if you have Perl, type:

perl -v

If some version info comes out, you have Perl. If not, contact your
server administrator.

4. If you have Perl, type:

perl config.pl

Your script should run and do whatever it is supposed to do. Be
careful! Scripts called "config" are often for configuring settings
that may be difficult to fix if you misconfigure them.

Good luck with your script.

- Hammer
Comments  
Subject: Re: Executing a Script in my Domain
From: aditya2k-ga on 07 Nov 2002 10:43 PST
 
One of the best ways is Telnet.
Subject: Re: Executing a Script in my Domain
From: bbv91258-ga on 07 Nov 2002 10:57 PST
 
I am trying to get to a command line to do this.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy