cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
UNIX/Linux Programming
Show available serial ports
Show available serial ports
Apr 10, 2018 at 2:54pm UTC
column
(7)
Hello,
I need to get all available serial ports on Linux machine. What is the easiest way to get such list?
Last edited on
Apr 10, 2018 at 2:56pm UTC
Apr 11, 2018 at 1:25am UTC
Ralumbi
(5)
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.