Chinaunix首页 | 论坛 | 博客
  • 博客访问: 713383
  • 博文数量: 235
  • 博客积分: 4309
  • 博客等级: 中校
  • 技术积分: 2325
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-17 11:25
个人简介

If you don\\\\\\\\\\\\\\\'t wanna do it, you find an EXCUSE; if you do, you\\\\\\\\\\\\\\\'ll find a WAY :-)

文章分类

全部博文(235)

文章存档

2014年(3)

2013年(2)

2012年(31)

2011年(199)

分类: LINUX

2011-09-22 10:02:36

  1. In the beginning.....

  2. sh
  3. aka "Bourne" shell, written by Steve Bourne at AT&T Bell Labs for the very earliest versions of Unix. Very small, very simple, and very few internal commands, so it called external programs for even the simplest of tasks. The big advantage is that it is always available on everything that looks vaguely like Unix.

  4. csh
  5. The "C" shell. Written by Bill Joy at Berkeley (who went on to found Sun Microsystems). Many things in common with the Bourne shell, but many enhancements to make interactive use much nicer. The syntax of the internal commands used only in scripts is very different from "sh", and is similar to the "C" programming syntax.

  6. tcsh
  7. The "TC" shell. Freely available, written mostly by various folks at Cornell University, and based on "csh". It has many additional features to make interactive use more convenient. The disadvantage is that until recently, it was not installed by default on many versions of Unix. Not many people write scripts in [t]csh. We use it as the default shell for new accounts on all of our public systems.

  8. ksh
  9. The "Korn" shell, written by David Korn of AT&T Bell Labs (now Lucent). Written as a major upgrade to "sh", it is compatible with it, but has many more internal commands for the most frequently used functions. It also incorporates most of the same features from tcsh which enhance interactive use (command line history recall etc.). This shell is now available on most systems. It was slow to gain acceptance because earlier versions were encumbered by AT&T licensing.

  10. POSIX/XPG4
  11. Standards comittees worked over the Korn shell and slightly modified some specifications to define a "standard" shell which systems meeting the POSIX spec. must comply with. On some systems, /bin/sh is actually now a POSIX compliant shell, fully compatible with Bourne shell, but with most of the ksh features. This standard was created partly because the early ksh was not fully 100% backward compatible with sh, and so caused trouble if it simply replaced it. On Solaris, the "alternate" commands which differ slightly in behaviour from traditional SunOS commands are located in /usr/xpg4/bin

  12. bash
  13. The "Bourne again" shell. Written as part of the GNU/Linux Open Source effort, it is basically a functional clone of sh, with additional features to enhance interactive use, add POSIX compliance, and partial ksh compatability. It is the default shell on Linux.

  14. zsh
  15. A freeware functional clone of sh, with parts of ksh, bash and POSIX compliance, and some new interactive command-line editing features. It is installed as the default shell on early MacOSX systems (later ones have bash)
阅读(752) | 评论(0) | 转发(0) |
0

上一篇:温故中国黑客史

下一篇:HD vs SSD

给主人留下些什么吧!~~