![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Administer servers remotely with Web Console | iBot | UNIX and Linux RSS News | 0 | 05-02-2008 01:20 AM |
| down load file from unix server to Windows machine. | chandu_kalari | Linux | 3 | 12-02-2007 10:39 AM |
| connecting windows remotely from unix using SSH | lakshmis10 | UNIX for Advanced & Expert Users | 1 | 10-19-2007 01:41 AM |
| Running UNIX commands remotely in Windows box from Unix box – avoid entering password | D.kalpana | UNIX for Dummies Questions & Answers | 1 | 04-20-2007 02:24 AM |
| Explor the Unix server on Windows Client machine | ziaullahk | IP Networking | 2 | 09-08-2006 05:01 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi there--I think this is more of a Windows question, but I think many of you might be able to help me out:
I have a UNIX web server and a Windows machine. I'm trying to script the following tasks so that they can be run from the Windows machine (via a batch file): 1. Shutdown web services on remote UNIX server. 2. FTP (ie, get) various files/folders from the UNIX server to Windows client. 3. Startup web services on the UNIX server. I can accomplish #1 using putty's "plink" command, but I need help figuring out how to get my Windows script to validate that the "Web Services shutdown" completes successfully before it attempts to FTP (ie, get) the UNIX files. Also, I'd appreciate any ideas for getting my Windows script to validate the "Web Services startup" completes successfully. Please let me know your thoughts. Thanks in advance! |
| Forum Sponsor | ||
|
|
|
|||
|
Install cygwin (http://www.cygwin.com/) on the Windows machine and pretend that it is a UNIX box. Assuming you do a fairly complete install once you are running in Cygwin's bash shell, you will feel (mostly) like you are on a Linux box.
If you will be doing a lot interactively, I would highly suggest using Cygwin's rxvt as your terminal rather than Cygwin's default of running bash in a cmd window. Contrary to somewhat popular belief, Cygwin's port of rxvt does not require an X server to be running. |
|
|||
|
i want to log in to unix from window machine (batch file) and run a script (ksh) on unix
how do i do from plink plink username@password "server name" scriptname ?? does not work... any help appreciated or still better i can run the whole script from batch file on windo say telnet severname username password ksh for i in $(cat vidpurge) do rm i done quit any help appreciated... |
|
|||
|
C:\>plink -ssh -pw [password] [username]@[sername]
give me an error Unable to open connection: Host does not exist I usually do telnet/ftp to the server using sername no problem do i have to do some setting in putty or i have spaces worng???? new to both putty & unix thanks for your help |
|||
| Google The UNIX and Linux Forums |