Arduino IDE random port change

If you work a lot with arduino's you might run into this very annoying problem that com port numbers keep changing with each upload...

The solution is to make your operating system forget the previous serial devices that have been plugged into the USB port.

To do this under Linux type the following commands:

sudo modprobe -r cdc-acm
sudo modprobe -r ftdi-sio