What does `sudo !!` do?

BeginnerConceptLinux and shell
Answer

Reruns the previous command with sudo. !! is Bash history expansion of the last command.

All Real-World Interview questions Roadmap: Interview readiness

More on Linux and shell