rlwrap is a utility based on the GNU readline library that allows editing keyboard input for other command.
yum My system shows readline installed rlwrap-0.41]$ sudo yum install readline Loaded plugins: fastestmirror, presto, security Loading mirror speeds from …
bash centos readline libreadline rlwrap