http://blog.livedoor.jp/sonots/archives/38589335.html
net_tools_deprecated_message () { echo -n 'net-tools command deprecated ' } arp () { net_tools_deprecated_message echo 'Use `ip n`' } ifconfig () { net_tools_deprecated_message echo 'Use `ip a`, `ip link`, `ip -s link`' } iptunnel () { net_tools_deprecated_message echo 'Use `ip tunnel`' } iwconfig () { echo -n 'iwconfig command deprecated ' echo 'Use `iw`' } nameif () { net_tools_deprecated_message echo 'Use `ip link`, `ifrename`' } netstat () { net_tools_deprecated_message echo 'Use `ss`, `ip route` (for netstat -r), `ip -s link` (for netstat -i), `ip maddr` (for netstat -g)' } route () { net_tools_deprecated_message echo 'Use `ip r`' }
めも