It's not a command but it is still useful. When you are typing a long command and you realize that you need to do other command or set of commands first, usually you type ctrl + c to cancel it. By default it does not save in the history. If you put # (comment the command) in front of the command (you can do it quickly with Ctrl + a #) and then you can use Ctrl + r to get it back. I'm sure there are other ways to save…
alt-h behaves similarly but runs `man `, so if you have this:
$ rsync -
and need to check the options, hit alt-h and the man page for rsync comes up. When you exit you'll be back at: $ rsync -