LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 879|回复: 9

freebsd的shell指令和linux不同吗?

[复制链接]
发表于 2004-4-4 21:24:33 | 显示全部楼层 |阅读模式
我原来认为freebsd也是用bash做shell的,但是看了一些贴子后发现有些明令不是很相同。
所以本打算装一个freebsd来玩玩的,现在又有点害怕了。
发表于 2004-4-4 21:39:43 | 显示全部楼层

回复: freebsd的shell指令和linux不同吗?

最初由 tx-cary 发表
我原来认为freebsd也是用bash做shell的,但是看了一些贴子后发现有些明令不是很相同。
所以本打算装一个freebsd来玩玩的,现在又有点害怕了。

freebsd下是csh吧。
你可以port一个bash来作为登录shell啊。
发表于 2004-4-4 23:30:52 | 显示全部楼层
default shell is csh , has other shell you can use : sh  and tcsh.
more information please look at /etc/shells
 楼主| 发表于 2004-4-5 07:31:30 | 显示全部楼层
太麻烦了吧。可以直接登陆后运行bash吗?有没有权限限制?
发表于 2004-4-5 15:49:23 | 显示全部楼层
#chsh -s /usr/local/bin/bash
发表于 2004-4-6 10:52:31 | 显示全部楼层

其实是一模一样的

只有娇小的区别。
发表于 2004-4-7 17:40:24 | 显示全部楼层
最初由 devel 发表
default shell is csh , has other shell you can use : sh  and tcsh.
more information please look at /etc/shells


in fact default  shell is tcsh, csh is just a link 0f tcsh...



.
发表于 2004-4-7 18:04:39 | 显示全部楼层
Actually,the default shell used by root is tcsh,but other users' shell depending on the setting of shell at the time you give birth to  them.

The bash is the same thing as this in the Linux.In BSD,the tcsh is recommed ,I think.After all it is the native and default shell for root.
 楼主| 发表于 2004-4-8 08:34:31 | 显示全部楼层
在下了。。。5.2.1
再问一个问题, 我所习惯的众多GNU软件在freebsd中有吗,那两张ISO大体有些什么软件?
发表于 2004-4-8 09:40:08 | 显示全部楼层
yes! FreeBSD有10000多个软件, GNU里的软件基本上都在里面, 可以放心使用!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表