码上敲享录 > linux系统常见问题 > linux下查询内网ip命令

linux下查询内网ip命令

上一章章节目录下一章 2019-08-02已有1228人阅读 评论(0)

linux下查询内网ip命令


解决方法:

执行命令 ifconfig


结果:inet addr:后面的ip就是内网ip


eth0      Link encap:Ethernet  HWaddr FE:FC:FE:6B:80:49  

         inet addr:192.168.1.113  Bcast:192.168.1.255  Mask:255.255.255.0

         inet6 addr: fe80::fcfc:feff:fe6b:8049/64 Scope:Link

         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

         RX packets:126203931362 errors:0 dropped:0 overruns:0 frame:0

         TX packets:36194929416 errors:0 dropped:0 overruns:0 carrier:0

         collisions:0 txqueuelen:1000

         RX bytes:195324864138813 (177.6 TiB)  TX bytes:3557164987538 (3.2 TiB)


lo        Link encap:Local Loopback  

         inet addr:127.0.0.1  Mask:255.0.0.0

         inet6 addr: ::1/128 Scope:Host

         UP LOOPBACK RUNNING  MTU:65536  Metric:1

         RX packets:2638902641 errors:0 dropped:0 overruns:0 frame:0

         TX packets:2638902641 errors:0 dropped:0 overruns:0 carrier:0

         collisions:0 txqueuelen:0

         RX bytes:435839102204 (405.9 GiB)  TX bytes:435839102204 (405.9 GiB)


向大家推荐《Activiti工作流实战教程》:https://xiaozhuanlan.com/activiti
0

有建议,请留言!

  • *您的姓名:

  • *所在城市:

  • *您的联系电话:

    *您的QQ:

  • 咨询问题:

  • 提 交