Home > OS >  Expect to obtain the parameter value anomalies
Expect to obtain the parameter value anomalies

Time:11-09

Write this script is to determine the content of the state of a remote server the service, the return value to local errfile, consult the problem is to perform the test this command when get the IP number is 1, personal guess is that judge the local server IP command, is the place I want to get the number of each other after the IP command execution on the server, is 20 points, consult with an open mind

CodePudding user response:

The command line without execution

CodePudding user response:

Expect "] # "to expect" Last login "give it a try

CodePudding user response:

reference 1st floor mouse_zhu response:
command line without performing
thank you very much, has solved the problem

CodePudding user response:

refer to the second floor weixin_45962994 response:
expect "] # "to expect" Last login "try
thank you have solved the problem
  • Related