Chinaunix
标题:
如何切换SHELL种类?
[打印本页]
作者:
bigacer
时间:
2010-04-28 18:14
标题:
如何切换SHELL种类?
which sh
/usr/bin/sh
echo $SHELL
/bin/ksh
. ./usr/bin/sh
./usr/bin/sh: not found
好像不行。。。。。。
作者:
lkk2003rty
时间:
2010-04-28 18:15
回复
1#
bigacer
.
.
/usr/bin/sh
这个红点??????
作者:
bbgg1983
时间:
2010-04-28 19:23
[root@A ~]# echo $0
-bash
[root@A ~]# ksh
# echo $0
ksh
# csh
[root@A ~]# echo $0
csh
复制代码
直接在命令行敲就行了
作者:
Shell_HAT
时间:
2010-04-28 19:36
/前面的那个.表示当前目录,别乱用。
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2