Wiki: Korn shell

转载 2006年06月05日 13:08:00

Korn shell

From Wikipedia, the free encyclopedia

The Korn shell (ksh) is a Unix shell which was developed by David Korn (AT&T Bell Laboratories) in the early 1980s. It is wholly upwards compatible with the Bourne shell and includes many features of the C shell as well, such as a command history, which was inspired by the requests of Bell Labs users.

The main advantage of ksh over the traditional unix shell is in its use as a programming language. Since its conception, several features were gradually added, while maintaining strong backwards compatibility with the Bourne shell.

The ksh93 version supports associative arrays and built-in floating point arithmetic. Its advanced scripting functions put it on a par with specialised programming languages such as awk and perl.

For interactive use, ksh provides the ability to edit the command line in a WYSIWYG fashion, by hitting the appropriate cursor-up or previous-line key-sequence to recall a previous command, and then edit the command as if the users were in edit line mode. Two modes are available, compatible with vi and emacs.

ksh aims to respect the Shell Language Standard (POSIX 1003.2 "Shell and Utilities Language Committee").

Until 2000, Korn Shell remained AT&T's proprietary software. Since then it has been open source, originally under a license peculiar to AT&T but, since the 93q release in early 2005, it has been licenced under the Common Public License. Korn Shell is available as part of the AT&T Software Technology (AST) Open Source Software Collection. As ksh was initially only available through a commercial license from AT&T, a number of free and open source alternatives were created. These include the public domain pdksh, Free Software Foundation's Bourne-Again-Shell bash, and zsh.

Although the ksh93 version added many improvements (associative arrays, floating point arithmetic, a.o.), some vendors still ship their own version of the older ksh88 as /bin/ksh, sometimes with extensions (as of 2005 only Solaris and NCR UNIX (a.k.a. MP-RAS) ship ksh88, all other Unix vendors migrated to ksh93 and even Linux distributions started shipping ksh93) There are also two modified versions of ksh93 which add features for manipulating the graphical user interface: dtksh which is part of CDE and tksh which provides access to the Tk widget toolkit.

SKsh is an AmigaOS version, that offers several Amiga-specific features such as ARexx interoperability.

The MKS Korn shell is another commercial ksh reimplementation. It is (or at least was) included with Microsoft's Services for Unix.

相关文章推荐

The Korn Shell

  • 2009-10-14 21:43
  • 474KB
  • 下载

Learning Unix Korn Shell

  • 2010-03-24 08:02
  • 1.86MB
  • 下载

The Interrupt handling in Korn shell and C Shell

1.Interrupt handling in KSH 2.Interrupt handling in CSH 1.Interrupt handling in KSH The in...

korn shell

  • 2008-11-06 11:31
  • 442KB
  • 下载

从 Bash 和 Korn 到 C shell:评估 Linux 中的 shell

原谅地址:作者:M. Tim Jones,来源:IBMDW目录 shell 的发展历史 年以来的 UNIX shell 基本 shell 架构 探索 Linux shell Tenex C shell...

au23 aix 5l korn shell

  • 2009-01-04 18:42
  • 2.01MB
  • 下载

Bourne Shell C Shell Korn Shell POSIX Shell

基本上shell分两大类:  一:图形界面shell(Graphical User Interface shell 即 GUI shell)  例如:应用最为广泛的 Windows Explorer ...
  • ky000
  • ky000
  • 2011-07-27 10:36
  • 334
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

(最多只允许输入30个字)