Monday, November 3, 2008

AIX-Not able to see the Previously typed commands

Hi all,

In my AIX machine i cannot see the previously typed commands while pressing 'Up arrow' key.

3 comments:

Gireesh said...

the default shell in AIX is ksh. To make available the history, type 'set -o vi' from the shell. After that you can use 'k' for upward and 'j' for downward arrows.
Another option is to use bash shell. For this, after login to the k-shell, type 'bash' or make bash as the default shell in configuration file.

Gireesh

Sujith AO said...

Thank you... But the command 'bash' will work in ksh?

Gireesh said...

"bash" is the command to change your shell to bash.. if the bash is installed on the server it will work...