How to get your previous commands in AIX

Without an auto complete feature like in BASH, AIX appears more complicated then it really is. Especially amongst new users.The retyping of commands can get real annoying sometimes.

Fortunately, accessing your command history is easyly acomplished in AIX and will save you a load of time.

To start off, run “set -o vi” to set the shell to “VI” or “Insert Mode” mode.

[akuny][/users/jabas] # set -o vi

Next, hit the “Esc” key to get into VI mode. Once in vi mode follow the combinations below to scroll through your command history.

Alt + <k>key to go back

Alt + <j> key to go forward

Alternatively you could;

Alt + <->key to go back

Alt + <+>key to go forward

Enjoy.

One Response to “How to get your previous commands in AIX”

Author comments are in a darker gray color for you to easily identify the posts author in the comments

  1. Vishwa says:

    It works .

    Great thanks.

Leave a Reply

© 2008-2009 The Danesh Project
Powered by Wordpress and made by Guerrilla. Best viewed in Mozilla Firefox