欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

自己亲自做的生成mac的 host hosts 文件 有大用 有大大用

#!/bin/sh
#
sudo /bin/rm -f /etc/hosts  #first delete /etc/hosts
echo "
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1             localhost
18.234.148.229 manufacturing.abc.com
18.234.148.233 manufacturing-stagefull.abc.com
18.234.148.230 mfg23.abc.com
18.234.148.228 idmsac.corp.abc.com
18.84.106.104 nimbus.abc.com
18.32.202.1 idmsac.abc.com
18.129.252.28 recon.abc.com
18.234.148.183 ghds.abc.com
18.129.252.28 re9-osc01pub1051.ecs.abc.com
127.0.0.1 sift.abc.com
122.224.34.241  www.abc.com
"  > /etc/hosts


普通分类: