#!/bin/bash
#get local ip
ip=`ifconfig eth0 | grep "inet" | grep "netmask" |sed 's/^.*inet //g' |sed 's/ netmask.*$//g'`
echo "本地IP: "$ip
