From: "Michael French" Subject: Unix script on Windows box Date: Mon, 10 Mar 2003 09:42:31 -0800 Sender: linux-admin-owner@vger.kernel.org Message-ID: <000d01c2e72c$6dba7a30$0500a8c0@castor> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-admin@vger.kernel.org I have Netbackup server run on Win2K (NOT MY CHOICE!!!!) that I need to run a Unix script on. I have Interix installed on it (think cygwin, except costs money, company paid for....). Any who, I have Solaris script that works great, but I need to translate it to on the winbloze box but I can't seem to find any good souce on what I need to change. It looks like the paths can be called with "/C//interix/bin/ksh" and so forth, but I am not sure how to make the script run. Do I need to make it a batch file or just associate the ".sh" file type with the executable C:\Interix\bin\ksh.exe? Most of the functions in the script are basic unix tools like awk (which is installed) and NBU commands. I know that I could probably get this working on my own with a lot of testing and guessing, but I wanted to probe this list for help to speed things up, I'm under a tight deadline to make this work and have not found much luck with googling around. Thanks! Michael French PS, I can post the script if people really want to see it :)