I think i confused everyone. Let me clear you my reqyirements :-
Leave login part that is already taking care.
I have conf file in each file which has two entries seperated by comma. look like :-
best1,ls /opt/bmc/Patrol3/*/best1
......, .......................
In which "Best1" is the product name and "ls /opt/bmc/Patrol3/*/best1" is the way to find the product version of Best1 in that particular server.
Now what i need is to run the second part(ls /opt/bmc/Patrol3/*/best1) in the server and forward output with corresponding product name to a file. The output file should look like
Product name Version
Best1 3.0.1
Loganame 1.0
..... ...
.... ...
Note :- The file is varying for each server(contain lot of product) as the product in each server is different.
I hope i am not confusing again
Thanks,
Ren