• 0

Autocomplete cli from history


Use the following steps to do the reverse search in your bash history.
$ Ctrl + R

$(reverse-i-search)`': [start typing command...] [Tab/Enter]

 - Tab will complete the command and brings back the CLI.
 - Enter will execute the command and brings back the CLI.