I am able to use the
history command on CentOS to get list of previous inputted commands, however, if I do something like:
!372, history will attempt to run the referenced command.
I need the previous run command to appear in at current cursor. Here's an example:
[dev@home ~]$ previous_command_no_execute!372