Bash builtin to substitute with a command found in history. More information: https://gnu.org/software/bash/manual/bash.html#Event-Designators.
sudo
sudo !!
history
!number
!-number
!string
command !*
command !$
!:-
!string:p