0
 $ sudo !!

Dec. 14, 2011, 11:26 p.m.Janos

Explanation

!! (bang bang!) is replaced with the previous command.

You can read more about it and other history expansion commands in man bash in the Event Designators section.