Search the history for the most recent command beginning with text

  $ !text
click the source code to copy