论坛首页 综合技术论坛

suse linux 9.0 下 切换 csh

浏览 1727 次
该帖已经被评为隐藏帖
作者 正文
   发表时间:2010-04-21   最后修改:2010-04-24
用chsh命令

#-v 可以显示shell版本
[root@localhost ~]# chsh -v
util-linux 2.13-pre6
#-l 显示可用的shell
[root@localhost ~]# chsh -l
/bin/sh
/bin/bash
/sbin/nologin
/bin/tcsh
/bin/csh
/bin/ksh

#更改默认shell:
[root@localhost ~]# chsh
Changing shell for root.
New shell [/bin/bash]: /bin/bash
Shell not changed.
#我就没改了,如果改,参考-l 参数之后进行相应的更改。此操作一定要慎重。

引用:http://zhidao.baidu.com/question/97053720.html
论坛首页 综合技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics