Hi All,

how can know subnet address of the machine using bash scripting .. if i use
ifconfig it only displays ipaddress and subnet mask. I you have to calculate
subnet address then you have to do binary AND operation on ipaddress AND
subnet mask to know subnet address . Can any one help me to know subnet
address of the machine in bash script.

Thanks
Barbarian
-- 
View this message in context: 
http://www.nabble.com/Subnet-address-tf4115487.html#a11703401
Sent from the Gnu - Bash mailing list archive at Nabble.com.



_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to