Skip to content

Instantly share code, notes, and snippets.

@shamasis
Created August 5, 2014 18:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shamasis/933107f724cfa65078e9 to your computer and use it in GitHub Desktop.
Save shamasis/933107f724cfa65078e9 to your computer and use it in GitHub Desktop.
Get ACT Broadband usage information using Unix Terminal
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/\&nbsp;/\ /g';
@shamasis
Copy link
Author

No longer works on new ACT portal :-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment