Run the previous command in the shell
When you want to run the last command you executed in the shell, you can use the !! command. Handy if you need to re-run with sudo.
When you want to run the last command you executed in the shell, you can use the !! command. Handy if you need to re-run with sudo.