4 ms·
`sudo !!` is perfectly alright. It references the very last command, which in all likelihood is right there on your screen, typed by you a few seconds ago, and
by gruturo 5y ago
`sudo !!` is perfectly alright. It references the very last command, which in all likelihood is right there on your screen, typed by you a few seconds ago, and you're aware of the context.
$!(some number) instead is quite insane and much more likely to have unwanted effects due to (potential) lack of context.
Don't conflate the two.