Gossamer Forum
Home : General : Perl Programming :

How do I run a script/program from telnet.

Quote Reply
How do I run a script/program from telnet.
I am trying to run a program from telnet. This is new to me. I have managed to get threw most of the commands. Though I cannot manage to find the command for run:

Here is a cut out how it is explained from the set-up description
_______________________________
To use newsite, cd to /usr/local/newsite, and run ./newsite. You
--------------------------------

I have been able to get to the newsite directory, but I do not know how to execute?

Would be grateful for any help, I cannot get my server running before this is done.

T.J.
Quote Reply
Re: How do I run a script/program from telnet. In reply to
Actually, it sounds like you've got a binary, not a Perl program (at least from what the directions you were given say). If you've gotten to the newsite directory, you're already halfway there. All you need to type is what your instructions said: ./newsite

"newsite" is the name of the executable. You may or may not need to type the "./" in front of new site. Some versions of Unix/Linux don't know that you want to execute a file in the directory that you're currently in. The "./" just tells the OS that your executing the newsite binary in your current directory.
Quote Reply
Re: How do I run a script/program from telnet. In reply to
Just type:

perl newsite.pl or perl newsite.cgi