为什么每次都要输入BASH才行

weixin_38060792 2008-03-19 02:38:05

[root@tan ~] $cat /etc/passwd
root:0:0:Super-User:/export/home/root:/bin/bash

[root@tan ~] $su -
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
-bash-3.00#
-bash-3.00# bash
[root@tan ~] $
[root@tan ~] $ls -a
.                .bashrc          .gnome2          .recently-used
..               .gnome           .gnome2_private  .sunw

[root@tan ~] $cat .bashrc
PS1='[\u@\h \w] $'
BASH=/usr/bin/bash [ 本帖最后由 00021906 于 2008-3-19 14:58 编辑 ]
...全文
22 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复

477

社区成员

发帖
与我相关
我的任务
社区描述
其他技术讨论专区
其他 技术论坛(原bbs)
社区管理员
  • 其他技术讨论专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧