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 anyone help me to achieve this?