Screen is a very handy tool for managing serial port connections on your computer.
Its also very hand for collaborating and usage over SSH—because your connection is inside of a screen session, even if you lose your SSH connection the screen session will stay alive and you can re-attach to it later
See the example at the bottom for output of these commands.
Use the ls
command to list the devices that are connected
ls /dev/ttyACM*
ls /dev/tty.usbmodem
Replace the 0
with the identifier you found from listing files in the /dev
screen /dev/ttyACM0
If you see [screen is terminating]
there might be an existing screen session for the device.
You can check which serial sessions exist, I (Flynn) have never figured out the naming but you should be able to name them
screen -list
screen -r 2325.pts-10.w6yx-Shuttle-P302