The Mask

# ifconfig | grep inet | head -1 | sed 's/(.*)(Mask:)(.*)/3/'
255.0.0.0
Vote up this code0