on my Mac, i currently have the available serial ports:
is it possible to retrieve a list of the available serial ports of the computer from the command line (terminal)?
To run netstat and see detailed data about your Mac's network, open a new Terminal window, type netstat, and press Enter. Limit netstat's output with flags and options. To see netstat's available options, type man netstat at the command prompt.
You can use lsof -i:3000 . That is "List Open Files". This gives you a list of the processes and which files and ports they use.
ah... it is much easier than i though.
ls /dev/tty.* ls /dev/cu.*
will list
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With