A script for people who tend to forget whether you should run apt-get update or upgrade first.
First get the script
wget https://raw.githubusercontent.com/shinr/update-sh/master/update.sh
Then apply proper permissions
chmod u+x update.sh
It is also recommended to add this script to your path, so you can run it anywhere.
Run the script
./update.sh
Never feel lost again!