Run past command that began with (e.g. cat filename)

!cat
# or
!c
# run cat filename again
click the source code to copy