Hi i have not don anny scripting before so pls answer simple
I want to make a shell script that i can use to execute a program on a nother
pc. They are both using CentOS.
The command i use to execute to program from my computer is:
First i open a terminal and write:
#ssh -X gw302 (i am using aliases)
then i am promped for password
after inserting the password i must change user on the other computer:
#su gsss
then i am promped for a nother password
and final i can start the program:
#GPS_SUPERV
Is there a way to make a shell script to do all this?