Other than in Windows you cannot use the arrow keys to correct a command line of recall your last command with IBM Websphere wsadmin command line in Linux. In order t get that working you need a little tool called “rlwrap“.

Just install it with “yum -y install rlwrap” (for Redhat Linux; choose the install command valid for your distribution) and then you can run wsadmin with ” rlwrap ./wsadmin.sh”.

I normally create a short command file with the following content and place it in “/home/<user>/bin” so that I can call it from everywhere:

 

IBM Websphere: Use arrow key with wsadmin in Linux
Tagged on:         

Leave a Reply

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