MHN
Add a comment on Hacker News →
1 of 25 comments
  1. up arrow

    ctrl-a (readline command for beginning of line)

    type "sudo"

    Also, ctrl-w is really useful. Heck, learning the readline editing keyboard in general is really useful.