Feed a command-line shell from another shell Feed a command-line shell from another shell shell shell

Feed a command-line shell from another shell


Bash uses GNU readline library which can be used only for open source programs (with an appropriate license). But you can use rlwrap. It is in most Linux distributives. You can use it as rlwrap fdb, for example.