Tty ACM numbers

Hello,
I have 10 arduino devices connected to my comuter through a hub,
how can I run a shell script that would produce a list of the ACM ports the devices are connected to?
for example: ["ttyACM0" , "ttyACM1" , ..."ttyACM9"]

I am working on linux.

Thank you

Have a look in /dev/serial/by-id.

thank you!!