August 20, 2018 8:28 pm Update
I learned a new handy thing today.
In BASH if you want to repeat the last command, just type !!
This is really handy when you forget to type in sudo to do something as root. For example:
apt-get update
sudo !!
In BASH if you want to repeat the last command, just type !!
This is really handy when you forget to type in sudo to do something as root. For example:
apt-get update
sudo !!