10-21-2014
Quote:
Originally Posted by
Girish19
Hi All,
We have shell scripts in UNIX ( Sun OS ) server.
Also in my windows machine i have Cygwin installed.
Now is there a way to execute Shell script available in UNIX server from Cygwin?
In addition to using ssh from Cygwin to connect to a Solaris server, you can authenticate using public/private key authentication and specify the -c to run a particular command. But if you are trying to schedule a job to run on a Solaris server, why wouldn't you use cron to run the job?
Then you don't need Cygwin to run the job.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi all,
how to execute shell script in another server that contain sql script. i tried using "ssh -l" option.. but i am unable to load the environment variable of the remote host.
please suggest how execute the shell script contain sql part inside it. (2 Replies)
Discussion started by: sandeep909
2 Replies
2. Shell Programming and Scripting
Hi everybody,
I would like to execute a shell in windows. So I installed Cygwin but I got this message :
$ sh /neuf.sh
start
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 ... (4 Replies)
Discussion started by: mytrax
4 Replies
3. Shell Programming and Scripting
Hi all,
I am beginner in UNIX...I want to use unix shell script to create text.file...I know how to use using by command...can anybody tell me for the script?
Thanks
i changed the threads title from "tex file" to "text file", because "tex" would probably be misunderstood as reference to... (4 Replies)
Discussion started by: mastercar
4 Replies
4. UNIX for Dummies Questions & Answers
ssh -q <hostname> /opt/tcs/satish/tst.ksh
ssh -q <anotherserver> /opt/tcs/satish/tst.ksh
tst.ksh has "nohup <command> & "
when i execute below script , its throwing error as
nohup can not be found
ssh -q <anotherserver> /opt/tcs/satish/tst.ksh > log &
can someone let me... (5 Replies)
Discussion started by: only4satish
5 Replies
5. Shell Programming and Scripting
Can anyone help me with a dos batch script to execute a shell script residing in an unix server. I am not able to use ssh.
Thanks in advance (2 Replies)
Discussion started by: Shri123
2 Replies
6. Shell Programming and Scripting
Hi,
I want to execute shell script with in sftp session for remote server.
like i have a shell script test.sh that is on local server.i want to execute that script on remote server
sftp user@192.168.56.10
sftp> test.sh ---execute for remote server not for local server.
sftp... (3 Replies)
Discussion started by: SAUD PASHA
3 Replies
7. Shell Programming and Scripting
Hi ,
Is there any script to copy a files (weblogic bianary + silent.xml ) from one server (linux) to another servers and then execute the copy file.
We want to copy a file on multiple servers and run the installation.
Thanks (1 Reply)
Discussion started by: Nawrajesh
1 Replies
8. Shell Programming and Scripting
hi,
i have a shellscipt that is in another server, my question is how do i run the script from a different server.
EXAMPLE:
SCRIPT_NAME: sample.sh
SERVER: A
what i wanted to achieve is to call that script from server B. Tried using ssh
ssh <username>@serverB /home/sample.sh
but... (5 Replies)
Discussion started by: reignangel2003
5 Replies
9. Shell Programming and Scripting
Hi team,
My requirement is to transfer pdf files from windows machine to unix server and then from that unix server we should sftp to another server.
I have completed the first part i.e From windows to using to unix server with the help of psftp.exe
code:
psftp user@host -pw password <... (1 Reply)
Discussion started by: bhupeshchavan
1 Replies
10. UNIX for Beginners Questions & Answers
How to execute setDomainEnv.sh in wblogic via ssh on remote server in shell script
we execute setDomainEnv.sh manually as . ./setDomainEnv.sh from its location ie /opt/SP/users/domian/bin"
My approach is not working.
Please advise.
#!/bin/bash
set -x
base="/opt/SP/users/d1/bin"... (5 Replies)
Discussion started by: abhaydas
5 Replies