> Is there a way to make it just give me the command but not run it? Ctrl+r will bring up history search. Start typing, and bash will match the latest command that contains the string you have typed, as you type. It doesn't match from the beginning, but other than that.