rerun code from history code example
Example: rerun code from history
# Using an exclamation point followed by a number is arguably the simplest use:
!636
# However, you can also run the last executed command directly without knowing its history number:
!!
# Or you can run two commands back:
!-2