Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道有一种方法可以运行具有命令历史支持的交互式控制台(即使程序本身并不支持它)。但是,我不记得命令。谁能帮我?
安装包rlwrap并运行它
$ rlwrap foo
获取命令foo的命令行历史记录。
试试ledit。
ledit
例如
$ ledit mycommand