Written by James McDonald

October 12, 2015

For years I have been typing history and then copying and pasting the result to the command prompt to rerun a command.

But you can simply type history, make a note of the number and then type !xxxx where xxx is the number of the command. e.g.:

history

!1210

Screen Shot 2015-10-12 at 1.12.33 PM

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.

You May Also Like…