$ wget http://zwitterion.org/software/internode-quota-check/internode-quota-check $ chmod +x internode-quota-check $ mv internode-quota-check internode-quota-check.sh $ sudo apt-get install libwww-mechanize-perl libreadonly-perl $ $ ./internode-quota-check.sh man you don't seem to have a ~/.fetchmailrc, so I'll prompt you. To avoid extra dependencies, your password will be echoed. Username: juliusroberts Password: passwordhere Run this command to create a ~/.fetchmailrc file: echo '# poll mail.internode.on.net user "juliusroberts" password "passwordhere"' >> ~/.fetchmailrc $ echo '# poll mail.internode.on.net user "juliusroberts" password "passwordhere"'>> ~/.fetchmailrc $ $ ./internode-quota-check.sh juliusroberts: 132.032 GB (88.0%) and 13.6 days (48.5%) left on 150 GB, 24 Mb/s plan. $
So I then went and added ./internode-quota-check.sh to the bottom of my ~/.bashrc file. So now when i login to my server i see straight away how much internets i have left, yay :)
No comments:
Post a Comment