sudo bang bang (sudo !!)
August 18th, 2007
!! tells bash “repeat the last command I entered.” How is this useful? I can’t tell you how many times I have received the error “Operation not permitted” while chmoding something. So instead of retyping the command as superuser, I can just type “sudo !!”. This will run the previous sodoed
references
http://www.deadman.org/bash.html