Autocomplete cli from history


Use the fol­low­ing 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.

You may also like...