I'm not a programmer and need lots of help. I have pieces working, but want the complete solution. I have countless Ubuntu boxes in a closet on the other end of the building. From my desktop, I can putty into each machine. run the command , Cat /etc/Version. and write this down in an excel sheet.
I would like to create a batch file that connects, logs in, checks the version and saves the version in a text file named ip10101033.txt on my desktop and exits proper.