If I scroll way up or use Ctrlr search and go way up in the history, how to get back down to the clear line? I know I can clear with Ctrle, Crtlu, but that modifies them. Is there an official way beside Ctrlc to reset the shell?
If I scroll way up or use Ctrlr search and go way up in the history, how to get back down to the clear line? I know I can clear with Ctrle, Crtlu, but that modifies them. Is there an official way beside Ctrlc to reset the shell?
Two "official" options (from 8.4 Bindable Readline Commands in the Bash manual):
M->
can be entered by pressing Alt>, or Esc followed by >.Notes:
abort
is to be used while in the history search mode.end-of-history
, on the other hand, should be used after selecting a command from the history search mode (by, e.g, pressing Esc or an arrow key).