Created
August 5, 2014 18:48
-
-
Save shamasis/933107f724cfa65078e9 to your computer and use it in GitHub Desktop.
Get ACT Broadband usage information using Unix Terminal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo -n "ACT Data Usage Info:"; | |
# Fetch Url, locate line with quota and remove HTML tags | |
curl --silent --url "http://portal.acttv.in/index.php/mypackage" | grep 'Quota' | sed -e 's/<[^>]*>//g' -e 's/\ /\ /g'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No longer works on new ACT portal :-(