Sorry if this is a yes/no question.. I am reading this unix tutorial and found the following:
Repeating and Modifying the Previous Command
If you mistype leavenworth as leaveworth you can correct it with the following command: % ^leave^leaven
Unfortunately I don't have a computer to try this on, but I was wondering:
Since some commands require
sudo to run, could I then write
^^sudo to "insert" sudo to the previous command?