LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Serial Port read in shell script (https://www.linuxquestions.org/questions/linux-newbie-8/serial-port-read-in-shell-script-193845/)

tjt 06-15-2004 02:09 PM

Serial Port read in shell script
 
I am trying to control some external devices through the serial port with some shell scripts. To write to the devices I can do:

> echo "hello" > /dev/ttyS0

I'm assuming this works, though I haven't yet been able to validate. Now I want to read back some info. Either reading into a variable or file would be ok too.

Thanks for the help.

legolin 08-12-2004 09:18 AM

hi, i was looking for the same information...

have you been able to control some hardware connected to the serial port using shellscripts? i whant to know if it is posible, and how do i have to make my hardware in order to make it compatible.

i apriciate any kind of information,

leg


All times are GMT -5. The time now is 10:49 PM.