qingmuchuanqi48

一.命令行方式

1.打开命令行

2.输入输入命令:ifconfig en0

3.回车,即可:

en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    options=400<CHANNEL_IO>
    ether 90:9c:4a:b7:4b:f6 
    inet6 fe80::1044:95dd:82db:56de%en0 prefixlen 64 secured scopeid 0x6 
    inet6 2408:84e1:1:e8d5:14df:fcc0:6fb8:2fdf prefixlen 64 autoconf secured 
    inet6 2408:84e1:1:e8d5:c4b3:bc80:8b01:6b92 prefixlen 64 autoconf temporary 
    inet 192.168.43.31 netmask 0xffffff00 broadcast 192.168.43.255
    nd6 options=201<PERFORMNUD,DAD>
    media: autoselect
    status: active

其中192.168.43.31就是你的ip地址

二。网络偏好设置里查看

面板-偏好设置-网络-状态下-也能查看本机的ip

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-12-05
  • 2021-05-31
  • 2021-07-08
  • 2021-10-17
  • 2021-10-24
  • 2021-12-07
猜你喜欢
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
  • 2021-07-27
  • 2022-12-23
  • 2021-11-27
  • 2021-11-19
相关资源
相似解决方案