function get_linux_ip
{
echo "start to read host ip"
if [ -f /home/1.properties ];then
echo "file is exsit"
cd /home
rm -rf 1.properties
cd ..
else
echo "file is not exsit"
cd /home
touch 1.properties
cd ..
fi
echo `/sbin/ifconfig -a | grep inet | grep -v inet6 | awk -F ":" '{print $2}'|awk -F " " '{print $1}'` >> /home/1.properties
echo "end to read host ip "
}