I'm trying to set an alias for sudo !!
in Bash. I tried alias sbb='sudo !!
', but it interprets that as a literal !!
and prints
sudo: !!: command not found
If I use double quotes, it substitutes the double bang in the string itself, so that doesn't work.
Is there any way to make this work? Or an alternative alias? `