分页: 1 / 1

export

发表于 : 2011-07-07 17:13
mad_frog
大家有没碰到这个问题啊
[root@localhost ~]# export
export: Command not found.

echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin

Re: export

发表于 : 2011-07-07 21:15
eexpress
● type export
export 是 shell 内嵌

看你是啥shell

Re: export

发表于 : 2011-07-08 10:01
mad_frog
eexpress 写了:● type export
export 是 shell 内嵌

看你是啥shell

type: Command not found.

Re: export

发表于 : 2011-07-08 10:26
mad_frog
问题解决了
1、echo $SHELL
/bin/csh
发现用的是C shell
运行 chsh -s /bin/bash
再从别的机器上拷 .bashrc 和.bash_profile 文件到~就OK了