I use putty
everyday to login to a Linux session and execute some commands.
Now since I have a thought to automate this process, I would like some help to complete this process.
I have made a batch file which contains the below commands:
Start putty.exe abc@1.1.1.1 22 -pw 1234
Using this script I am able to open a putty
session.
Now I want it execute my next command as well:
ps -eaf|grp sometext
Can you please help me to achieve this?
It's a huge challenge for me.
No comments:
Post a Comment