Search Results

Search: Posts Made By: gtam
2,816
Posted By gtam
ok but how can i get the md5 hash of each web...
ok but how can i get the md5 hash of each web pages to compare ?

for example

if $checksum of each web page on each server are same then exit code 0

any idea how could i do this ?
2,816
Posted By gtam
Get web pages and compare
Hello

I'm writing a script to get content of web pages on different machines and compare them using their md5 hash

hear is my code


#!/bin/bash

# Cluster 1
CLUSTER1_SERVERS="srv01:7051...
2,927
Posted By gtam
no the wget does not return 0 or 1 hear is...
no the wget does not return 0 or 1

hear is the sample output i get if i run this command on one of my web server

wget -q -O - "http://srv1/test/version.html


<html>
<head>
<meta...
2,927
Posted By gtam
hello panyam wget prints the content of the...
hello panyam

wget prints the content of the web pages in standard output
2,927
Posted By gtam
Get web pages and compare
Hello,

I'm writing a shell script to wget content web pages from multiple server into a variable and compare

if they match return 0 or return 2


#!/bin/bash

# Cluster 1...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 11:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy