Show available serial ports

Hello,

I need to get all available serial ports on Linux machine. What is the easiest way to get such list?
Last edited on
Hey column,

You can either use:
 
dmesg | grep tty

or
 
setserial -g /dev/ttyS[0123456789]


Just cannot think of others to cover a better list.
Well I do a program you could install if you're running a gui version on your machine which is called gtkterm if I am right you can simply install it by:
 
sudo apt-get install gtkterm


I hope you've got your answer !

Kindly regards,

Ralumbi
Topic archived. No new replies allowed.