In bash on OSX I can do
ctrl-_ to undo what I most recently typed. Is there a corresponding redo command?
ctrl-y is the Readline 'yank' command which retrieves the kill buffer.
ctrl-u kills from the point to the beginning of the line (similar to OSX/bash
ctrl-_ which clears the whole line). The Emacs-like Readline bindings are enabled in bash and a subset are enabled in many other places (browser search bars etc).
ctrl-ukill from start of line to insertion point
ctrl-kkill from insertion point to end of line
ctrl-wkill previous word (and prepend to kill buffer)
ctrl-yyank contents of kill buffer