This is a short list of commands that I commonly use to install and update the server that runs this blog.
I tend to upgrade all software every couple of weeks and this lists helps me remember the individual steps.
sudo apt-get update sudo apt-get upgrade
Check if we need to reboot
sudo shutdown -r now
When installing a new server, I usually set up some Netherlands/Dutch specific things.
Set time zone
timedatectl set-timezone Europe/Amsterdam
sudo locale-gen nl_NL sudo locale-gen nl_NL.UTF-8 sudo update-locale
This is one of the things I regularly use on my working machine.
List programs using port 80
lsof -i -P -n | grep LISTEN | grep 80