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. Now you can use the up and down arrows to select a command from the list then hit enter to re-run it. And just like that the curl command runs again Bonus: You can also use the F5 key to cycle through the previous commands.