Operating System - HP-UX
1820140 Members
3260 Online
109619 Solutions
New Discussion юеВ

Fully functional KSH for windows.

 
SOLVED
Go to solution
fg_1
Trusted Contributor

Fully functional KSH for windows.

All

Does anyone have access to or know of a fully functional korn shell (ksh) for windows environments, outside of loading linux. I am trying to get one to be able to script while at home. I have 2 options, a windows 98 machine at home, and a win2k thinkpad laptop so either o/s is good for me.

Thanks all.

7 REPLIES 7
Rodney Hills
Honored Contributor
Solution

Re: Fully functional KSH for windows.

Check out www.cygwin.com, although it does not have ksh, it does have a unix like environment with "bash" and many standard unix utilities.

-- Rod Hills
There be dragons...
linuxfan
Honored Contributor

Re: Fully functional KSH for windows.

Hi Frank,

I haven't used this myself, but looks like its worth a shot.

http://www.research.att.com/sw/tools/uwin/

-Regards
Ramesh
They think they know but don't. At least I know I don't know - Socrates
A. Clay Stephenson
Acclaimed Contributor

Re: Fully functional KSH for windows.

Hi Frank:

Though it's not free. The best is the MKS Toolkit from: http://www.mkssoftware.com/.

Typically when you need shell scripting, you also need awk, grep, sed, ... . All of that comes with the Toolkit. You can download a trial version.

Plan B. Use Perl instead from http://www.activeperl.com. If your Perl is well-written the same scripts will run without change on Windows and UNIX.
If it ain't broke, I can fix that.
George_Dodds
Honored Contributor

Re: Fully functional KSH for windows.

Plenty of bit's n pieces in the following thread

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x12c128e43106d6118ff40090279cd0f9,00.html

Cheers

GEorge
John-Thomas Gaietto
Trusted Contributor

Re: Fully functional KSH for windows.

You could also try the posix/unix tool kit for Windows 2000. However I believe this is only availble from the resource cd. But provides unix tools such as (vi, grep, etc...) "Korn Shell... runs on in Windows 95 and Windows NT. See also: U/WIN FAQ. ... Rosenblatt O'Reilly & Associates" Hope this helps.

J-T
Rodney Hills
Honored Contributor

Re: Fully functional KSH for windows.

The Windows 2000 Unix support from Micro$oft is missing a few standard commands (like awk).

I think you have to purchase a licence for it too.

It does supply NFS access, although I have not explored how robust it is.

-- Rod Hills
There be dragons...
Gregory Fruth
Esteemed Contributor

Re: Fully functional KSH for windows.

If you really MUST have ksh and not a workalike,
you can probably install the genuine AT&T
ksh88 or ksh93. Get the source from David Korn's
(hence the name "Korn Shell") site
http://www.kornshell.com.

If the AT&T licensing is a problem, try the public
domain clone of ksh called pdksh. Do a search
on the Web for it.

Personally, I find that "bash" works just as well as
ksh, plus it supports much of the handy csh-type
syntax that I like but ksh does not have.