LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 987|回复: 12

bash变动

[复制链接]
发表于 2008-1-11 18:33:42 | 显示全部楼层 |阅读模式
今天发现在/etc下多了一个profile.bash,我想知道现在如果要改系统变量的话,是改/etc/profile好还是/etc/profile.bash好?
发表于 2008-1-11 21:17:00 | 显示全部楼层
我咋没有?<字符破解>
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-1-11 21:46:30 | 显示全部楼层
不可能吧。profile属于filesystem软件包, profile.bash属于bash软件包,你再看看。
回复 支持 反对

使用道具 举报

发表于 2008-1-11 22:20:15 | 显示全部楼层
看看别人有没有。。我是根据官方源更新的。。不是你比我还快把
  1. $ pacman -Ql bash
  2. bash /bin/bash
  3. bash /bin/bashbug
  4. bash /bin/sh
  5. bash /etc/profile
  6. bash /etc/skel/.bash_profile
  7. bash /etc/skel/.bashrc
  8. bash /usr/man/man1/bash.1.gz
  9. bash /usr/man/man1/bashbug.1.gz
  10. bash /usr/share/locale/en@boldquot/LC_MESSAGES/bash.mo
  11. bash /usr/share/locale/en@quot/LC_MESSAGES/bash.mo
  12. bash /usr/share/locale/ru/LC_MESSAGES/bash.mo
复制代码
  1. $ pacman -Ql filesystem
  2. filesystem /etc/arch-release
  3. filesystem /etc/crypttab
  4. filesystem /etc/fstab
  5. filesystem /etc/group
  6. filesystem /etc/gshadow
  7. filesystem /etc/host.conf
  8. filesystem /etc/hosts
  9. filesystem /etc/issue
  10. filesystem /etc/ld.so.conf
  11. filesystem /etc/motd
  12. filesystem /etc/nsswitch.conf
  13. filesystem /etc/passwd
  14. filesystem /etc/protocols
  15. filesystem /etc/resolv.conf
  16. filesystem /etc/securetty
  17. filesystem /etc/services
  18. filesystem /etc/shadow
  19. filesystem /etc/shells
复制代码
回复 支持 反对

使用道具 举报

发表于 2008-1-11 22:23:36 | 显示全部楼层
$pacman -Ql bash
bash /bin/bash
bash /bin/bashbug
bash /bin/sh
bash /etc/profile
bash /etc/skel/.bash_profile
bash /etc/skel/.bashrc
bash /usr/man/man1/bash.1.gz
bash /usr/man/man1/bashbug.1.gz
bash /usr/share/locale/en@boldquot/LC_MESSAGES/bash.mo
bash /usr/share/locale/en@quot/LC_MESSAGES/bash.mo
bash /usr/share/locale/ru/LC_MESSAGES/bash.mo
没有这个文件
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-1-11 22:24:46 | 显示全部楼层
我的版本filesystem-2007.11-4,bash-3.2.033-1。
回复 支持 反对

使用道具 举报

发表于 2008-1-11 22:41:25 | 显示全部楼层
你开了testing?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-1-11 22:47:49 | 显示全部楼层
当然开了,怕死不是小白鼠。
回复 支持 反对

使用道具 举报

发表于 2008-1-11 22:53:41 | 显示全部楼层
我没开,arch是我的主系统,不过我的gentoo倒是用了~x86。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-1-11 23:08:11 | 显示全部楼层
狱卒老大,你说的话对我一点帮助都没有
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表