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
6、注销,重新登陆系统,搞定~~~
本文来自:韦少乾博客(mven.cn)
详细出处:http://mven.cn/post/45.html
分享到:
相关推荐
aix5.3 安装gmake、gcc,以便于在aix环境下支持c++语言编译,以及bash
AIX系统上安装BASH程序
bash-4.2-1.aix6.1.ppc安装完成后,你懂的,省事!
aix 5.2的bash rpm包 可以用linux bash
AIX-6系统的bash-5安装包
bash 在AIX系统下的安装,命令如下: ftp上传到AIX机器上,然后运行如下命令: rpm -ivh bash-3.0-1.aix5.1.ppc.rpm
AIX下的命令补全工具,bash-4.4-3.aix6.1.ppc.rpm;rpm -ivh bash-4.4-3.aix6.1.ppc.rpm 安装;修改/etc/passwd,修改用户的默认shell,如: root:!:0:0::/:/bin/bash
aix 操作系统bash工具bash-3.2-2.aix6.1.ppc.rpm,aix 5及6、7均支持
bash-4.2-1.aix6.1有类似LINUX TAB的功能
AIX bash插件
windows上的bash环境,mingw跨平台编译
AIX-6系统的bash-3.2安装包
bash-4.2-3.aix6.1.ppc.rpm 下载
AIX-5系统的bash-3.2安装包
bash-3.0-1.aix5.1.ppc.rpm bash-3.2-1.aix5.2.ppc.rpm rpm.rte 其中rpm.rte 为aix下支持rpm的程序包 大家也可以到这里去下载 http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/download.html
AIX默认使用的Ksh,没有自动补全功能。这对于像我这样用惯了Linux的Bash的人,简直受不了。赶紧换回bash,恩,舒服多了。。。
在 AIX上安装 cloud-init 需要下载cloud init 的 rpm包:ftp://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/cloudinit 在安装cloud init过程中需要有很多依赖包,本压缩包包含了aix 7.1 默认安装下 ...
在centos6或rhel6 操作系统安装bash-completion-2.1-6.el7.noarch.rpm后,重启即生效
AIX 5L Korn and bash Shell Programming
redhat bash漏洞补丁包含文件:bash-4.1.2-15.el6_5.2.i686.rpmbash-4.1.2-15.el6_5.2.x86_64.rpmbash-3.0-27.el4.i386.rpmbash-3.0-27.el4.x86_64.rpmbash-3.2-33.el5_11.4.i386.r... redhat bash漏洞补丁 包含文件...