Shortcut

Terminal Run the Command and Recall the Next History Item Shortcut

The Terminal shortcut to run the command and recall the next history item is Ctrl + O on Windows. We haven't confirmed a Mac shortcut for this yet.

Quick Answer

Windows
Ctrl+O
Mac
Not confirmed yet
Web
Not confirmed yet
TerminalShortcut

Run the Command and Recall the Next History Item

Windows
Ctrl+O

Runs what you typed, then loads the next item from your command history.

Learn More

How to run the command and recall the next history item in Terminal

  1. Open Terminal and go to where you want to run the command and recall the next history item.
  2. Press Ctrl + O on Windows.

Terminal Run the Command and Recall the Next History Item Shortcut for Windows

Press Ctrl + O.

Terminal Run the Command and Recall the Next History Item Shortcut for Mac

We haven't confirmed a Mac shortcut for this yet.

Terminal Run the Command and Recall the Next History Item Shortcut for Terminal Web

We haven't confirmed a Terminal Web shortcut for this yet.

Related Keyboard Shortcuts

Frequently asked questions

What is the Terminal run the command and recall the next history item shortcut?

On Windows, press Ctrl + O.

Is there a Mac shortcut to run the command and recall the next history item in Terminal?

We haven't confirmed a Mac shortcut for this yet.

Does it work in Terminal for the web?

We haven't confirmed a web version shortcut for this yet.

Official source · How we verify