I miss bash when I’m working on those aix boxes. On default setting ksh won’t give you your command history on the press of arrow keys. Yes you can set -o vi and map Esc-k to arrow key and such, but why would I do such thing when I can install bash on those AIX boxes 🙂

IBM provides bash as a part of their Linux toolbox. Get the rpm, put it into the aix boxes using ftp or sftp, put it into a temporary folder such as /tmp/bash/

[lab1:root:/tmp/bash:] ls -la
total 2800
drwxr-xr-x    2 root     system          256 Jul 14 21:53 .
drwxrwxrwt   15 bin      bin            4096 Jul 14 22:35 ..
-rw-r–r–    1 root     system      1429004 Jul 14 21:44 bash-3.2-1.aix5.2.ppc.rpm
[lab1:root:/tmp/bash:]

to install, go to /tmp/bash, and do the following:

[lab1:root:/tmp/bash:] inutoc .
[lab1:root:/tmp/bash:] smitty installp

Once in the smitty screen, pick “Install Software”

smitty installp

On “Input device /directory for software” insert “.”

Input device/ directory for software

On the next screen, get to “Software to install”, press F4 to get the list of installable package on the chosen directory. Highlight bash-3.2, press F7 to mark it for installation. Press enter to return to the previous screen, and enter again to install bash

press F7 to mark bash for installation

Wait until the install process finished. To get to bash, just type “bash” on your prompt.

Bookmark and Share


By ikhsan

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.