๐ Can you run a script to get list of all ttys# devices?
๐ก Newskategorie: Linux Tipps
๐ Quelle: reddit.com
I was planning on getting a list of all ttys# devices, then pasting these numbers into a script like this
sudo echo 'ATDT 309' > /dev/ttys0โ sudo echo 'ATDT 309' > /dev/ttys1โ sudo echo 'ATDT 309' > /dev/ttys2โ
Would it be possible to automate this, so that when you run the script it gets the lost of ttys# devices then paste each device at the end of a line of code of
sudo echo 'ATDT 309' > /dev/
(Which you'd add ttys#" to)
[link] [comments] ...