1

I know there is a way to run an interactive console with command history support (even though the program does not inherently support it). However, I don't remember the command. Can anyone help me?

jrouquie
  • 4,315
  • 4
  • 27
  • 43
August Karlstrom
  • 10,773
  • 7
  • 38
  • 60

2 Answers2

0

Try ledit.

E.g.

$ ledit mycommand
ams
  • 24,923
  • 4
  • 54
  • 75
0

Install the package rlwrap and run it like

$ rlwrap foo

to get command line history for the command foo.

August Karlstrom
  • 10,773
  • 7
  • 38
  • 60