batch commands through remote login
I want to fire set of commands to retrieve some information from one Linux system to another linux system. The response to command may be little slow and may take few seconds. The response needs to be captured back. Typically it was done through Teraterm script from windows machine to linux machine. Please suggest suitable method of doing so.
|
create a shell script, copy it to the target host, execute and copy (redirect) back the result.
|
Quote:
The same was earlier (on windows) achieved by running Teraterm script that could handle such interactions. Please suggest. |
Thanks for quick response. Shell Scripting is not possible because of some interactions involved in command execution that cannot be parsed through shell script.
The same was earlier (on windows) achieved by running Teraterm script that could handle such interactions. Please suggest. |
expect can handle such kind of interactions
|
All times are GMT -5. The time now is 01:27 AM. |