|

楼主 |
发表于 2003-11-4 22:57:47
|
显示全部楼层
[/home/javalee/myshell]whereis tcsh
tcsh: /bin/tcsh /usr/share/man/man1/tcsh.1.gz
[/home/javalee/myshell]ll /bin/tcsh
-rwxr-xr-x 1 root root 365432 8月 8 2002 /bin/tcsh
[/home/javalee/myshell]whereis csh
csh: /bin/csh /etc/csh.cshrc /etc/csh.login /usr/share/man/man1/csh.1.gz
[/home/javalee/myshell]ll /bin/csh
lrwxrwxrwx 1 root root 4 6月 1 20:37 /bin/csh -> tcshcsh
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.
tcsh
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. http://www.linuxsir.cn/bbs/showt ... p;highlight=history |
|