# Command Prompt - F7 List Previous Commands

If you want to see a list of all the previous commands from your current Command Prompt session just push the F7 key to see a list of commands like below.

[![image.png](https://bookstack.taylorhome.run/uploads/images/gallery/2023-03/scaled-1680-/yyUimage.png)](https://bookstack.taylorhome.run/uploads/images/gallery/2023-03/yyUimage.png)

Now you can use the up and down arrows to select a command from the list then hit enter to re-run it.

[![image.png](https://bookstack.taylorhome.run/uploads/images/gallery/2023-03/scaled-1680-/ou2image.png)](https://bookstack.taylorhome.run/uploads/images/gallery/2023-03/ou2image.png)

And just like that the curl command runs again

[![image.png](https://bookstack.taylorhome.run/uploads/images/gallery/2023-03/scaled-1680-/ApRimage.png)](https://bookstack.taylorhome.run/uploads/images/gallery/2023-03/ApRimage.png)

Bonus: You can also use the F5 key to cycle through the previous commands.