News for hackers. Stuff that matters.
Re:What's the one Linux command you wish you knew years ago? by telemachos on Sunday November 20, 2011 @08:59AM (#3258106)
What I usually do in that situation is Ctrl + u (delete all the way back to the start of the line), then type the intermediate command, then Ctrl + y (place the deleted partial line back on the prompt, with my cursor at the end where it was).

This assume Emacs-style bindings for the shell.

There are no comments on this comment yet.