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:
1 2 |
cd /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin rlwrap ./wsadmin.sh -lang jython |
IBM Websphere: Use arrow key with wsadmin in Linux