Linux Terminal Glossary
›
Shell & Bash
!!
Category:
Shell & Bash
!!
Copy command
Re-execute the last command
Re-runs your previous command. !! is a shortcut that expands to the last command. Useful for adding sudo: 'sudo !!'.
Looking for more?
Search all 7,657 commands
— works offline, in English or Spanish, and fixes typos.