跳转到内容

C Shell

维基百科,自由的百科全书

这是本页的一个历史版本,由Farm留言 | 贡献2005年10月30日 (日) 10:19 (create)编辑。这可能和当前版本存在着巨大的差异。

(差异) ←上一修订 | 最后版本 (差异) | 下一修订→ (差异)

C shellcsh)是Unix shell的一种,由Bill JoyBSD系统上开发。C shell脱胎于Unix第六版的/bin/sh,也是Bourne shell的前身。这种shell的语法类似于C语言,与Bourne shell相比,C shell有不少特别的功能,比如aliases(别名)、command history(命令的历史)。目前C shell已不再被广泛使用,后继者包括Tenex C shell(tcsh)、Korn shell(ksh)、GNU Bourne-Again shell(bash)。

While the C shell introduced many innovative features in interactive mode, the C shell's scripting capabilities have come under criticism by some. In any case, since the standard Bourne shell is guaranteed to be present on all Single UNIX Specification-compliant systems, most recommend the use of sh for scripting purposes.


外部链接