Answers for "rerun code from history"

0

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
Posted by: Guest on January-06-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language