The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to execute multiple(batch) oracle script in unix mechine ravi gongati Shell Programming and Scripting 2 03-21-2008 03:37 AM
how to execute script from my desktop windows xp to my HPUX server? kenshinhimura HP-UX 2 03-05-2008 01:47 PM
Execute a UNIX script from DOS prompt. er_aparna Shell Programming and Scripting 24 12-15-2006 03:47 AM
Can Unix (Solaris) execute a dos .bat script? BCarlson UNIX for Dummies Questions & Answers 4 08-26-2006 05:52 PM
How to execute a shell script from Windows kyawlin UNIX for Dummies Questions & Answers 4 12-19-2003 05:54 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-01-2005
Registered User
 

Join Date: Jul 2005
Posts: 2
Question Execute script on Unix/Linux from Windows

Hello ALL,

Does anyone know how I can execute a script on Unix or Linux? Details: This execution needs to start from Windows and I need to pass some parameters to the script.
If anyone knows how to execute, please, let me know. Please, send me an example how it is possible.

Thanks.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-02-2005
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,325
How about using ssh? You will have to download a ssh client for windows. Putty is a good client, but I dont know if it will serve your purpose. Just check for some other client.

BTW, the syntax for ssh will be:
ssh username@hostname command any_arguments_here
Reply With Quote
  #3 (permalink)  
Old 07-02-2005
Registered User
 

Join Date: Jul 2005
Posts: 2
Hello blowtorch,

Thank you for your information. I will check about the software, however, I was thinking to use some DOS Commands.
Actually, my application will execute a routine that allows to send some DOS Command. In this case, this DOS command will need to execute a script on Unix or Linux and I need to pass some parameters too.
Do you believe that this product will reach the goal?
Thank you.
Regards.
Reply With Quote
  #4 (permalink)  
Old 07-02-2005
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,325
A DOS command? Do you mean command line execution at the dos prompt? Because you will have to run a unix script/command on the remote system. There's no way around that.

Command line execution at the DOS prompt is possible for SSH, you just have to look for a client that will give you that functionality.
Reply With Quote
  #5 (permalink)  
Old 07-10-2005
Just Ice's Avatar
Lights on, brain off.
 

Join Date: Mar 2005
Location: in front of my computer
Posts: 629
see if you can install cygwin ... then create dos batch file that ...

1. sets your parameters
2. calls ssh to run remote commands on remote server

do a search on "ssh" on this forum and/or google to get that setup and you should be on your way ... btw, cygwin is at www.cygwin.com ...
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:35 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0