From: Christopher Slater Subject: Re: Unix script on Windows box Date: Mon, 10 Mar 2003 14:40:44 -0800 (PST) Sender: linux-admin-owner@vger.kernel.org Message-ID: <20030310224044.49223.qmail@web12805.mail.yahoo.com> References: <000d01c2e72c$6dba7a30$0500a8c0@castor> Mime-Version: 1.0 Return-path: In-Reply-To: <000d01c2e72c$6dba7a30$0500a8c0@castor> List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Michael French , linux-admin@vger.kernel.org Can't you just go to the command line and do: ksh script.sh Not sure if I'm understanding entirely so if I'm on the wrong path, let me know. Chris --- Michael French wrote: > 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 :) > > - > To unsubscribe from this list: send the line "unsubscribe > linux-admin" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/