Entries from 2009-03-03 to 1 day
debianのeth0とかeth1とかが認識順になるせいでNICの指定がめんどくさい。 ifconfig -s |perl -lne 's/(\S+).*/$1/; print unless /^(?:Iface|lo)$/'ifconfig -s |perl -lne 'grep {print unless /^(?:Iface|lo)$/} /(\S+)/'
debianのeth0とかeth1とかが認識順になるせいでNICの指定がめんどくさい。 ifconfig -s |perl -lne 's/(\S+).*/$1/; print unless /^(?:Iface|lo)$/'ifconfig -s |perl -lne 'grep {print unless /^(?:Iface|lo)$/} /(\S+)/'