Thompson Shell
Thompson Shell是由Ken Thompson推出的第一个Unix shell。它是一个简单的命令解释器,为命令行界面引入了一些创新功能。这个命令外壳导致了后来的Unix命令外壳的发展。它不是为脚本设计的。它是在AT&T贝尔实验室开发的。它于1971年发布。

POSIX Shell
POSIX Shell是一个由IEEE计算机协会推出的计算机操作系统的命令行外壳。POSIX是Portable Operating System Interface的缩写。POSIX Shell是基于便携式操作系统接口(POSIX)-IEEE P100| 3 2中定义的标准。它被认为是脚本中的主要Shell之一。它是在1992年发布的。

Thompson Shell和POSIX Shell之间的区别如下:

编号 Thompson Shell POSIX Shell
1 Thompson Shell是由Ken Thompson在AT&T贝尔实验室开发的。 POSIX Shell是由IEEE计算机协会开发的。
2 Thompson Shell是在1971年发布的。 POSIX Shell是在1992年发布的。
3 Thompson Shell是第一个Unix shell。 POSIX Shell是主要的shell之一。
4 Thompson Shell通常的环境是Unix。 POSIX Shell通常的环境是POSIX。
5 Thompson Shell没有许可证。 POSIX Shell有IEEE标准许可证。
6 Thompson Shell不支持unicode。 POSIX Shell的当前版本支持unicode。
7 Thompson Shell没有流重定向功能。 POSIX Shell有对任意fds的流重定向功能。
8 Thompson Shell只作为命令行解释器使用。 POSIX Shell既可作为命令行解释器,也可作为脚本语言。
9 Thompson Shell没有命令历史。 POSIX Shell的当前版本有命令历史记录。
10 Thompson Shell没有数值提示。 POSIX Shell有数值提示。