我只是记录一下命令,这个就可以搞定。

source .bashrc

 

login as: root
root@*****218’s password:
Last login: Thu Jul 1 22:06:47 2010 from 110.203.60.70
-bash-3.2# copy /etc/skel/.bashrc ~
-bash: copy: command not found
-bash-3.2# cp /etc/skel/.bashrc ~
-bash-3.2# source ~/.bashrc
[root@**** ~]#

 

不同的shell可以去切换:例:
[root@localhost ~]# bash
bash-3.2# sh
sh-3.2# tcsh
[root@localhost ~]# bash
bash-3.2# csh
[root@localhost ~]#

 

Linux/Unix | 评论(0) | 引用(0) | 阅读(11520)