Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Running an executable on a Unix machine from a Windows machine.

by pankaj_it09 (Scribe)
on Feb 09, 2010 at 14:26 UTC ( [id://822201]=note: print w/replies, xml ) Need Help??


in reply to Re: Running an executable on a Unix machine from a Windows machine.
in thread Running an executable on a Unix machine from a Windows machine.

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Re^2: Running an executable on a Unix machine from a Windows machine.

Replies are listed 'Best First'.
Re^3: Running an executable on a Unix machine from a Windows machine.
by Marshall (Canon) on Feb 09, 2010 at 17:19 UTC
    I don't see the Perl question here yet.

    Basically if you have a binary executable file that was built for Linux, you need to run that program on the Linux box. You need to talk with the Linux sys admin person. The first goal should be for you "to do it, ie run this linux program" as a person before you think about having a computer do it for you.

    For example: I only have a Win XP box, but right now I am connected to a Linux box over the internet. I use a couple of Windows programs for that. First, "Putty", this is freeware. I have a encrypted connection (SSH) to the remote machine that looks like a console session as if I were "on-site". I use a simple plug-in to Firefox (FireFtp)-also freeware- to run SFTP to transfer files back and forth.

    For Perl programs, I just transfer the file and run it on the remote machine via a command in my console window. For C programs, there is an extra step as I have to compile it on the Linux machine. If I want to edit a file on the Linux machine, I just right-click and tell FireFox that I want to use my local editor on the PC. Or I can use the console to run vi (which is a commonly known Unix editor).

    Somebody has given you an account on the "remote machine". Talk to that person!! That "somebody" will know about how to help you set up your environment. Get this working with you as a human controlling the start/stop of the program and then report back when you want a program to automate what you are already doing. The possible environments are endless. I can't give you a general solution. Talk to the Linux sysadmin.

      I just want a Perl program to do all this.

      I will use Net::SSH or Net::SSH::Expect.
Re^3: Running an executable on a Unix machine from a Windows machine.
by cdarke (Prior) on Feb 10, 2010 at 10:57 UTC
    Sorry I misunderstood you. You have a Linux executable on a Linux machine and you want to launch it from Windows?

    Try Expect
      Its alright I think I should have explained it more clearly.

      I have a Linux executable in a Windows machine.
        Then you will have to transfer the Linux binary executable to Linux, either physically or make it available on a shared drive using, say, Samba.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://822201]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-26 05:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found