The ubiquitous technology to learn is readline, because programs that have been compiled with readline support already have this capability - in whatever Linux distribution and in whatever Unix GNU utilities. (Most GNU programs have been done this way, and it's "painful" when they have not - enough for me that I would recompile them if they didn't get done "right.") It's a lot like learning the vi editor - once it's "in you" it never leaves; and, it makes working with the various programs much more proficient and enjoyable. The readline support behaves the same in whichever program was compiled with that library. How readline was implemented in an individual software program was up to the programmer(s) of that program, so mileage may vary.
For example, in BASH, the up arrow key recalls the previous line, and in almost any console program, [CTRL]+[U] erases everything left of the cursor while [ALT]+[F] moves forward one word and [ALT]+[B] moves backward one word, and many more...
Nslookup does have this, and sh/dash - but they are minimal.