Sample Header Ad - 728x90

Running minicom from a bash script for X amount of time (and getting the output)

0 votes
1 answer
846 views
I'm trying to write a script that involves repeatedly calling minicom, letting it run for 60 seconds, getting the output, then killing the job nad moving on to the next directory it runs minicom. So to do that I'm using the line timeout 120s minicom in a script. However, this doesn't print any of the minicom output to the terminal and when it finishes it kills the script entirely. Is there a way around this?
Asked by Ahmed (1 rep)
Sep 23, 2022, 09:12 PM
Last activity: Sep 23, 2022, 09:37 PM