免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2171 | 回复: 5
打印 上一主题 下一主题

Which shell most popular.... [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-01-28 01:31 |只看该作者 |倒序浏览
Hi all,

As i know bash shell should be most popular on linux.

But , which shell popular on Unix... Such as on Solaris and freebsd...

As i use freebsd for my hobby and Solaris for job, i want to learn to write shell scripts on both OS, it is not easy for me to choose which shell is better for both OS.

i have found that on Solaris, the people like choose ksh to work with shell scripts, on Freebsd, tcsh will be a lot people use...
someone just say use bash as he work on linux...

Any comment??

论坛徽章:
0
2 [报告]
发表于 2003-01-28 03:32 |只看该作者

Which shell most popular....

...

sometimes i must switch from a UNIX to another, FreeBSD, OpenBSD, Solaris, IRIX...  in order to avoid incompatibility, i use *ONLY* Bourne Shell for script, my favorite shell is bash and it's my login shell so far though.  i ALWAYS add this header in script,

#!/bin/sh

and IMHO, to use #!/usr/local/bin/bash or something like this,  is a bad idea, if u are not sticking only on a certain system.

论坛徽章:
0
3 [报告]
发表于 2003-01-29 03:31 |只看该作者

Which shell most popular....

But the function of Bourne Shell may be not strong enough to do something....

Also, what shell compatible with Bourne Shell ??

thx

论坛徽章:
0
4 [报告]
发表于 2003-01-29 11:00 |只看该作者

Which shell most popular....

ksh在大多数UNIX平台上还是用得很多的

论坛徽章:
0
5 [报告]
发表于 2003-01-30 05:37 |只看该作者

Which shell most popular....

红袖添香讲的对...

用sh for script, Login Shell can use Others....

论坛徽章:
0
6 [报告]
发表于 2003-02-08 21:54 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP