Aug-30-2018, 06:18 PM
I have a daily work on putty.
1)login to putty
2)type commands to give file path
3)run .sh file
This sh file has 43 options. I have to enter 1 to 43 from keyboard.
4)quit and close the putty session
Again I have to repeat the entire steps from connecting to putty for 50 times.
How can I automate the entire steps.
Can python do this? As I am new to python Please suggest how it can be achieved.
1)login to putty
2)type commands to give file path
3)run .sh file
This sh file has 43 options. I have to enter 1 to 43 from keyboard.
4)quit and close the putty session
Again I have to repeat the entire steps from connecting to putty for 50 times.
How can I automate the entire steps.
Can python do this? As I am new to python Please suggest how it can be achieved.