Working with Serial ports in Linux

1) add yourself to the “dialout” group so that you don’t need to use sudo to access serial ports (one-time)
sudo adduser yourlogin dialout
then logout and login

2) list the active serial ports
sudo apt-get install setserial
setserial -g /dev/ttyS* | grep -v unknown

3) Use putty to work with serial ports (can also use minicom, which is less user-friendly in my opinion)
sudo apt-get install putty