automatizando o cabecalho do firewall

3 views
Skip to first unread message

atos...@gmail.com

unread,
Jun 21, 2012, 6:04:59 PM6/21/12
to linux...@googlegroups.com
ip=`ifconfig eth2| grep "inet end.:"| awk -F : '{print $3}'
masc=`ifconfig eth2| grep "inet end.:"| awk -F : '{print $4}'`
IP_REDE_EXT=`ipcalc $ip $masc |grep Network |awk '{print $2}'`


Atos Ramos Alves


Reply all
Reply to author
Forward
0 new messages