Visit Our UNIX and Linux User Community

Execute script on Unix/Linux from Windows

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Execute script on Unix/Linux from Windows
# 1  
Old 07-01-2005
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.

# 2  
Old 07-02-2005
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
# 3  
Old 07-02-2005
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.
# 4  
Old 07-02-2005
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.
# 5  
Old 07-11-2005
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 ...

Previous Thread | Next Thread
Test Your Knowledge in Computers #99
Difficulty: Easy
Unix has a flat file structure which allows easier access and maintenance of data.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

how to execute shell script present in unix machine remotely from windows

how to execute shell script present in unix machine remotely from windows? I having a shell script in my unix machine, need to execute the script remotely from my windows machine using Visual Basic or VBA macros. Thanks In Advance. --Suresh (1 Reply)
Discussion started by: sureshmani
1 Replies

2. Windows & DOS: Issues & Discussions

Windows remote to Solaris to execute ksh script

Hi all, I'm not sure if it is correct to post here. I am facing problem wanting to create a batch that run from my Windows XP pc to remote to multiple Solaris server to execute the server's ksh script. :wall: Can anyone give me a hints on how to do that? Thanks. (6 Replies)
Discussion started by: beginningDBA
6 Replies

3. Shell Programming and Scripting

Execute unix command from an html page in windows

i have a problem situation, where i have a html file say click.html. i have a button "ls" in that html page. i run this html file in windows....Now say if i click that "ls" button it must connect to the unix server and execute ls and return the results back to html page in windows. can anyone tell... (8 Replies)
Discussion started by: niteesh_!7
8 Replies

4. HP-UX

how to execute script from my desktop windows xp to my HPUX server?

Good day, i would like to get some advice, how will i execute my script in hp ux servers, and how to configure rsh and rexec. thanks (2 Replies)
Discussion started by: kenshinhimura
2 Replies

5. UNIX for Dummies Questions & Answers

Unix/Linux on Windows

I installed Vmware wotrkstation and installed Fedora Linux.. is working fine now. While on windows I can access and enjoy fedora linux But I have a question regarding if I download a file in windows and want that file to be transferred to /usr file system in my Fedora linux. How can I do that... (5 Replies)
Discussion started by: venu_nbk
5 Replies

6. UNIX for Dummies Questions & Answers


OKay, I'm a complete dummy when it comes to Unix/Linux. I was under that impression that it's just like Windows, but not windows? I'm sure I sound like a moron. First of all, I hate windows but I'm so very much a pc user. I'm not all that in love with Macs so, Mr.Gates seems like my only... (2 Replies)
Discussion started by: spaceshiporion
2 Replies

7. UNIX for Dummies Questions & Answers

How to execute a shell script from Windows

I like to start a korn job remotely, from windows. I tried REXEC and that is not what I want. Need help !!!! thanks (4 Replies)
Discussion started by: kyawlin
4 Replies

8. Solaris


I want to have some document or any link which will give me the difference between Windows Based servers and Unix based servers. Also the power of the operating systems. (1 Reply)
Discussion started by: ktmjamal
1 Replies

9. Windows & DOS: Issues & Discussions

Windows vs Unix/Linux 2

This subject was brought up a short while ago. The question someone asked was is it possible to have Windows, Unix and Linux on one machine. It is possible to have a dual boot machine and it is possible to run Linux under windows and windows under linux. It is better to run Windows under Linux... (10 Replies)
Discussion started by: jacx2
10 Replies

10. Windows & DOS: Issues & Discussions

Windows vs Unix/Linux

Hello is it possible to have Both Windows AND Unix and even mabey Windows AND Unix AND Linux on 1 machine?? GŪ33Tz:confused: (7 Replies)
Discussion started by: justin45
7 Replies

Featured Tech Videos