by demosito666 · 4y ago · 0 comments
$!(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.
So you hit arrow up to bring up the last command, then [Alt]+[E] to sudo-ify it.