Contents
How do I run a command history number?
Use Key combination Ctrl – r , you will be able to use keyword to search bash history. If you’ve found the history number of a command and you want to execute it again, type ! followed by the number, e.g. ! 1234 and press Enter .
How do I check command history?
Here’s how:
- Open Start.
- Search for Command Prompt, and click the top result to open the console.
- Type the following command to view the command history and press Enter: doskey /history.