3

This question already has an answer here:

For example, forgetting to put sudo and having to go back to the beginning of the command.

marked as duplicate by Radu Rădeanu command-line Jul 18 '14 at 18:07

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

3

Home. Plus you may want to know about sudo !!, which repeats the previous command, but with sudo in front of it.

2

CTRL + a

(tends not to work if you using SCREEN though since screen uses Ctrl-A as a control switch.)

Not the answer you're looking for? Browse other questions tagged or ask your own question.