Actually, I am willing to write a shell script that can fetch all the text in between certain tags (like <span class="someclass">Fetch This Text</span>) from an HTML file located at different web-server.
Thanks for the script but
I want to use awk command with ssh in the script mentioned and want to search from the logs of last 15 minute only of the file which includes the data of whole day.
What i have done till now is as follows and executes the code on same server itself which is working fine:
In the above code i want to execute the above sh_count command on other server too from the same script itself and get count from the output and add to the total count to get final output.
Please help for the above situation
Thanks in advance.