May 2013
Beginner to intermediate
384 pages
7h 40m
English
Tracking changes to a website is helpful to web developers and users. Checking a website manually in intervals is really hard and impractical. Hence, we can write a change tracker running at repeated intervals. When a change occurs, it can play an audio or send some other notification. Let us see how to write a basic tracker for the website changes.
Tracking changes in terms of Bash scripting means fetching websites at different times and taking the difference by using the diff command. We can use curl and diff to do this.
Let's write a Bash script by combining different commands, to track changes in a web page:
#!/bin/bash #Filename: change_track.sh #Desc: Script to track changes to webpage ...
Read now
Unlock full access