bash script - screen


Recommended Posts

hi I am trying to write a bash script that connects to a terminal using serial and screen but I cant get it to connect it starts the session and expects login but does nothing? any ideas it should be only a ffew lines so would appreciate the help

Link to comment
Share on other sites

Hello,

hi I am trying to write a bash script that connects to a terminal using serial and screen but I cant get it to connect it starts the session and expects login but does nothing? any ideas it should be only a ffew lines so would appreciate the help

You are missing a ";"
Link to comment
Share on other sites

Hello,

You are missing a ";"

actually i solved it lol: the problem was that I was calling the bash script from a java program, the java program doesnt like using the sh command when running a script that will be using expect... just incase anyone wanted to know :P

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.