If you are ever typing in a bash terminal and get an access denied error, you don't have to retype your command to prefix it with a sudo
. Just type:
sudo !!
I've been using Linux systems for over 5 years now. How did I not know about this?!
If you are ever typing in a bash terminal and get an access denied error, you don't have to retype your command to prefix it with a sudo
. Just type:
sudo !!
I've been using Linux systems for over 5 years now. How did I not know about this?!