Created
September 25, 2015 16:38
-
-
Save rushipkar90/d084a1221518a2486c5d to your computer and use it in GitHub Desktop.
geteth0.sh
This file contains hidden or 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
#!/bin/bash | |
/sbin/ifconfig eth0 |grep bytes|cut -d":" -f2|cut -d" " -f1 | |
/sbin/ifconfig eth0 |grep bytes|cut -d":" -f3|cut -d" " -f1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment