Chinaunix

标题: ~/.bashrc文件不起作用?? [打印本页]

作者: mytangyou    时间: 2010-05-28 16:36
标题: ~/.bashrc文件不起作用??
[root@host30 ~]# ssh host21
root@host21's password:
Last login: Fri May 28 16:37:51 2010 from 192.168.5.30
-bash-3.2#
-bash-3.2#
-bash-3.2# source .bashrc
[root@host21 ~]#
[root@host21 ~]#
请各位大侠指点指点…………
作者: gamester88    时间: 2010-05-28 16:46
.bash_profile

的内容好着没。。。
作者: mytangyou    时间: 2010-05-28 17:00
回复 2# gamester88


    我看了看原来没有.bash_profile文件,复制了一个.bash_profile文件,搞定了
作者: vermouth    时间: 2010-05-28 17:21
应该先调用 /etc 里面那个吧?




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2