bash shell是linux上默认的shell,可以使用tab补全,上下键切换历史命令等,比AIX(大部分的Unix系统)默认的ksh shell好用。

IBM提供的所有AIX下能够安装的LINUX下的软件下载地址,里面包含bash shell:

http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html

1、下载bash软件
ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/bash/bash-3.2-1.aix5.2.ppc.rpm

2、安装bash软件
rpm -ivh bash-3.2-1.aix5.2.ppc.rpm

3、修改用户环境变量,$HOME/.profile添加:
export PS1=”[\u@\h \W]#”

4、修改/etc/security/login.cfg,在shells属性添加bash命令:
shells = /bin/bash,/bin/sh,/bin/bsh……

5、修改/etc/passwd,修改用户的默认shell,如:
root:!:0:0::/:/bin/bash

相关文章:

  • 2022-12-23
  • 2021-08-22
  • 2022-12-23
  • 2022-12-23
  • 2021-05-07
  • 2021-11-04
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-23
  • 2022-02-28
  • 2021-06-23
  • 2021-11-24
  • 2021-10-14
  • 2022-12-23
相关资源
相似解决方案